Open
Description
Instead of making BundleFromComponents
opt-out, though, would it make sense to have it be opt-in and require #[derive(Bundle, BundleFromComponents)]
? That better matches the general convention that a derive only implements a single trait. And if you do need to call take
, the trait bound should help guide you to derive the second trait.
Originally posted by @chescock in #19249 (review)
Metadata
Metadata
Assignees
Labels
Entities, components, systems, and eventsA targeted quality-of-life change that makes Bevy easier to useCode that generates Rust codeSimple bug fixes and API improvements, docs, test and examplesA breaking change to Bevy's public API that needs to be noted in a migration guideThis issue requires design work to think about how it would best be accomplishedThere are nontrivial implications that should be thought through