Add release notes for PR #5781: bevy_reflect: Recursive registration #1282
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1236
Adds release notes for recursive registration in
bevy_reflect
.There's a small amount of nuance that I chose to gloss over such as why we're doing this instead of using
inventory
orlinkme
, or which specific things actually rely on these registrations.I also chose not to go into detail about how this works under the hood via changes to
GetTypeRegistration
since most users probably don't even know that trait exists.I did, however, mention that there is still an opportunity for a footgun if a type that's used on its own (i.e. a component, a resource, etc.) is implicitly registered by another type. This is hopefully a lot less likely to occur than forgetting to register an internal type, but still a possibility. This isn't required information, so we can remove it if its too much or detracts from the rest of the feature, but I thought it might still be good to draw attention to.
Anyways, let me know if there's anything that should be added/changed/removed!