Module scale_typegen::typegen::validation
source · Expand description
Utility functions to validate that type paths in the user defined derives and substitutes exist in a type registry.
Functions
- Checks if a given type path is the type path of a type in the registry.
- Returns types in the PortableRegistry that share the identifier with the input path.
- Validates that the settings given are valid for the type registry. It checks for all type specific derives, attributes and substitutes if these types really exist in the type registry. It is thus overly conservative.