Skip to content
16 changes: 16 additions & 0 deletions _release-content/migration-guides/access_is_invertible.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Reads and writes from `Access` are exposed"
pull_requests: []
---

Removed from [`bevy_ecs::query::Access`] methods that gave `Result<ComponentIdSet, UnboundedAccessError>>`:

- `try_reads_and_writes()`
- `try_writes()`

Added new functions that return a new enum `InvertibleComponentIdSet`:

- `reads_and_writes()`
- `writes()`

The `try_` methods would fail for exclusion queries.
Loading
Loading