-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Do not suffix methods with _component and _resource in reflected types. #5202
Copy link
Copy link
Closed
Labels
A-ReflectionRuntime information about typesRuntime information about typesC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy
Metadata
Metadata
Assignees
Labels
A-ReflectionRuntime information about typesRuntime information about typesC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy
What problem does this solve or what need does it fill?
All methods in ReflectComponent and ReflectResource end with
_componentand_resourcerespectively. I think this is redundant and not very consistent with the rest of the API in the engine.What solution would you like?
Remove
_componentand_resourcesuffixes inReflectComponentandReflectResource.