Skip to content

Allow entity wrappers in entity set and map types (adopted)#24696

Closed
Trashtalk217 wants to merge 19 commits into
bevyengine:mainfrom
Trashtalk217:trusted-entity-borrow-for-entity-sets-and-maps
Closed

Allow entity wrappers in entity set and map types (adopted)#24696
Trashtalk217 wants to merge 19 commits into
bevyengine:mainfrom
Trashtalk217:trusted-entity-borrow-for-entity-sets-and-maps

Conversation

@Trashtalk217

Copy link
Copy Markdown
Contributor

Objective

See #18408. This was basically already accepted if not for a couple of tests. You can also copy these tests into the other PR if that makes it easier to retrace the git history.

Testing

I've added two tests for EntityEquivalentHashMap and EntityEquivalentHashSet, to show that using entity wrappers works.

@Trashtalk217 Trashtalk217 requested a review from Victoronz June 21, 2026 12:22
@Trashtalk217 Trashtalk217 added A-ECS Entities, components, systems, and events M-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide D-Complex Quite challenging from either a design or technical perspective. Ask for help! S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jun 21, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in ECS Jun 21, 2026
@alice-i-cecile

Copy link
Copy Markdown
Member

@Bluefinger want to re-review this one?

@Victoronz

Victoronz commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Added the tests to the original PR!

@Trashtalk217

Copy link
Copy Markdown
Contributor Author

I'd rather see #18408 merged

@github-project-automation github-project-automation Bot moved this from Needs SME Triage to Done in ECS Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ECS Entities, components, systems, and events D-Complex Quite challenging from either a design or technical perspective. Ask for help! M-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants