Skip to content

Add register_dependent_types for BTreeMap - #25777

Merged
alice-i-cecile merged 1 commit into
bevyengine:mainfrom
viridia:btree_reflect
Sep 15, 2026
Merged

alice-i-cecile merged 1 commit into
bevyengine:mainfrom
viridia:btree_reflect

Conversation

@viridia

@viridia viridia commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Fixes #25771

@alice-i-cecile alice-i-cecile added D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it A-Reflection Runtime information about types X-Uncontroversial This work is generally agreed upon labels Sep 14, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in Reflection Sep 14, 2026
@alice-i-cecile
alice-i-cecile added this pull request to the merge queue Sep 15, 2026
Merged via the queue into bevyengine:main with commit 29fe519 Sep 15, 2026
47 checks passed
@github-project-automation github-project-automation Bot moved this from Needs SME Triage to Done in Reflection Sep 15, 2026
viridia added a commit to viridia/bevy_action_map that referenced this pull request Sep 16, 2026
bevyengine/bevy#25777 adds register_type_dependencies to BTreeMap's
GetTypeRegistration, so registering SavedOverrides now reaches the inner
map's value type on its own. The two calls naming BTreeMap<String,
SavedRow> and BTreeMap<String, SavedTunableValue> go away, along with the
half of the comment that justified them.

Moves the Bevy pin from ac70f41d to 997c1b6b to pick the fix up, which
carries a batch of crates.io bumps with it.

The persistence tests do not probe this either way: the bevy
dev-dependency's default features enable bevy_reflect/auto_register_inventory
for every build in this repo, so SavedOverrides registers itself there
regardless. That also makes docs/issues.md 1019's "that mechanism is inert
here" wrong for dev and downstream builds, which chunk 109 still owns.

LLM Usage Disclosure: implementation, tests and documentation written by
Claude Opus 5; design decisions, review and acceptance by the author.
gregcsokas pushed a commit to gregcsokas/bevy that referenced this pull request Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Reflection Runtime information about types D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it X-Uncontroversial This work is generally agreed upon

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

BTreeMap is missing register_type_dependencies in GetTypeRegistration

3 participants