-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename init_component & friends #15454
Rename init_component & friends #15454
Conversation
Welcome, new contributor! Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨ |
@MichalGniadek can I get your review here? Do you like the rename? |
It looks like your PR is a breaking change, but you didn't provide a migration guide. Could you add some context on what users should update when this change get released in a new version of Bevy? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Thanks @hooded-shrimp :D This change looks good, but needs a simple Migration Guide still. Let me know if you'd like a hand writing one :) |
All the breaking changes should be recorded now. |
This should probably also rename |
I could do that.
|
Searched through
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lovely, thank you both so much.
Objective
init_component
andinit_component_with_desciptor
#15451Migration Guide
World::init_component
has been renamed toregister_component
.World::init_component_with_descriptor
has been renamed toregister_component_with_descriptor
.World::init_bundle
has been renamed toregister_bundle
.Components::init_component
has been renamed toregister_component
.Components::init_component_with_descriptor
has been renamed toregister_component_with_descriptor
.Components::init_resource
has been renamed toregister_resource
.Components::init_non_send
had been renamed toregister_non_send
.