bevy
bevy copied to clipboard
Shrink prelude (Adopted)
Objective
- Finish #3440
- Separate code targeting 2d from code targeting 3d.
Solution
- Split the prelude into prelude_2d, prelude_3d and a common part
Which PR was this adopted from? We should link it here and close it out.
Which PR was this adopted from? We should link it here and close it out.
I've seen it before, it's #3440
looking into how the examples were updated, this feels like a downgrade to me
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?
It will be used to help writing the migration guide for the version. Putting it after a ## Migration Guide will help it get automatically picked up by our tooling.
I'm personally not a fan. I can't find any discussion on why this is necessary besides "can cause name clashes when building third party crates". What is the motivation for splitting the prelude?
What is the motivation for splitting the prelude?
I adopted it because it was left open. I will close this since no one seems to be in favour of the changes.