bevy/crates/bevy_ecs/src
ElliottjPierce 361397fcac
Add a test for direct recursion in required components. (#17626)
I realized there wasn't a test for this yet and figured it would be
trivial to add. Why not? Unless there was a test for this, and I just
missed it?

I appreciate the unique error message it gives and wanted to make sure
it doesn't get broken at some point. Or worse, endlessly recurse.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2025-02-02 06:47:10 +00:00
..
entity Make EntityHashMap::new and EntityHashSet::new const (#17615) 2025-01-30 17:40:06 +00:00
event Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
identifier bevy_ecs: Apply #![warn(clippy::allow_attributes, clippy::allow_attributes_without_reason)] (#17335) 2025-01-14 21:37:41 +00:00
observer Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
query Share implementation of sort methods. (#16203) 2025-01-28 04:57:54 +00:00
reflect Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
relationship Refactored ComponentHook Parameters into HookContext (#17503) 2025-01-23 02:45:24 +00:00
schedule Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
storage Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
system feat(ecs): add EntityEntryCommands::entity() method chaining (#17580) 2025-01-29 17:36:02 +00:00
world Use the provided caller instead of Location::caller() in despawn_with_caller() (#17598) 2025-01-30 04:50:17 +00:00
archetype.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
batching.rs Fix *most* clippy lints (#15906) 2024-10-14 20:52:35 +00:00
bundle.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
change_detection.rs fix double comment characters (#17484) 2025-01-21 23:24:05 +00:00
component.rs Add a test for direct recursion in required components. (#17626) 2025-02-02 06:47:10 +00:00
entity_disabling.rs Add DefaultQueryFilters (#13120) 2025-01-20 21:57:39 +00:00
hierarchy.rs Refactored ComponentHook Parameters into HookContext (#17503) 2025-01-23 02:45:24 +00:00
intern.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
label.rs Add compile-time dyn compatible checks for DynEq, DynHash (#17254) 2025-01-09 07:30:54 +00:00
lib.rs Add a test for direct recursion in required components. (#17626) 2025-02-02 06:47:10 +00:00
name.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
removal_detection.rs Replace map + unwrap_or(true) with is_none_or (#17070) 2024-12-31 20:17:03 +00:00
resource.rs Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
result.rs Add no_std support to bevy_ecs (#16758) 2024-12-17 21:40:36 +00:00
traversal.rs Relationships (non-fragmenting, one-to-many) (#17398) 2025-01-18 22:20:30 +00:00