Adds the schematic_attr and asset_schematic_attr attributes to the Schematic and AssetSchematic derives, respectively. This allows attributes to be forwarded to the generated input type.
This also means that reflection attributes are no longer automatically passed to the input type. That behavior was removed as it would sometimes result in invalid behavior and was also not very flexible.
Objective
Resolves #53
Solution
Adds the
schematic_attr
andasset_schematic_attr
attributes to theSchematic
andAssetSchematic
derives, respectively. This allows attributes to be forwarded to the generated input type.For example, take the following schematic:
Will now generate an input type like:
This also means that reflection attributes are no longer automatically passed to the input type. That behavior was removed as it would sometimes result in invalid behavior and was also not very flexible.