bevy/crates/bevy_ecs/src
Periwink 3a664b052d
Separate component and resource access (#14561)
# Objective

- Fixes https://github.com/bevyengine/bevy/issues/13139
- Fixes https://github.com/bevyengine/bevy/issues/7255
- Separates component from resource access so that we can correctly
handles edge cases like the issue above
- Inspired from https://github.com/bevyengine/bevy/pull/14472

## Solution

- Update access to have `component` fields and `resource` fields

## Testing

- Added some unit tests
2024-08-06 01:19:39 +00:00
..
entity Fix Entity Debug Format (#14539) 2024-07-31 01:36:41 +00:00
event Minimal Bubbling Observers (#13991) 2024-07-15 13:39:41 +00:00
identifier feat: Reflection implementations on Identifier (#13648) 2024-06-03 16:33:14 +00:00
observer Make QueryState::transmute&co validate the world of the &Components used (#14631) 2024-08-05 22:39:31 +00:00
query Separate component and resource access (#14561) 2024-08-06 01:19:39 +00:00
reflect bevy_reflect: Function registry (#14098) 2024-08-06 01:09:48 +00:00
schedule Separate component and resource access (#14561) 2024-08-06 01:19:39 +00:00
storage Track source location in change detection (#14034) 2024-07-30 12:02:38 +00:00
system Separate component and resource access (#14561) 2024-08-06 01:19:39 +00:00
world Separate component and resource access (#14561) 2024-08-06 01:19:39 +00:00
archetype.rs Add a ComponentIndex and update QueryState creation/update to use it (#13460) 2024-08-06 00:57:15 +00:00
batching.rs Parallel event reader (#12554) 2024-04-22 16:37:42 +00:00
bundle.rs Track source location in change detection (#14034) 2024-07-30 12:02:38 +00:00
change_detection.rs Track source location in change detection (#14034) 2024-07-30 12:02:38 +00:00
component.rs Component Lifecycle Hook & Observer Trigger for replaced values (#14212) 2024-07-15 15:24:15 +00:00
intern.rs Moves intern and label modules into bevy_ecs (#12772) 2024-04-08 15:34:11 +00:00
label.rs Add mappings to EntityMapper (#13727) 2024-06-08 12:52:23 +00:00
lib.rs Separate component and resource access (#14561) 2024-08-06 01:19:39 +00:00
removal_detection.rs Created an EventMutator for when you want to mutate an event before reading (#13818) 2024-07-08 14:53:06 +00:00
traversal.rs Minimal Bubbling Observers (#13991) 2024-07-15 13:39:41 +00:00