PhantomData does not implement Reflect #5144
Labels
A-Reflection
Runtime information about types
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
D-Trivial
Nice and easy! A great choice to get started with Bevy
S-Wontfix
This issue is the result of a deliberate design decision, and will not be fixed
What problem does this solve or what need does it fill?
PhantomData is a common and useful type, it should implement the Reflect trait.
Users cannot do this themselves because of orphan rules, and wrappers are very frustrating here.
What solution would you like?
Implement Reflect for PhantomData in bevy_reflect.
The text was updated successfully, but these errors were encountered: