-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Reflection: type aliases #12387
Copy link
Copy link
Open
Labels
A-ReflectionRuntime information about typesRuntime information about typesC-FeatureA new feature, making something new possibleA new feature, making something new possible
Description
What problem does this solve or what need does it fill?
The ability to define reflection type names that are both stable and reasonably succinct would be valuable, particularly in cases involving evolution of asset formats:
What solution would you like?
From the discord:
#[reflect(Reflect)]
#[type_path(alias = scenery::FloorSurface)]
struct StdFloorSurface { .. }
Additional context
There's a PR #5830 which attempts to solve this problem in a slightly different way.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-ReflectionRuntime information about typesRuntime information about typesC-FeatureA new feature, making something new possibleA new feature, making something new possible