Module validation

Source
Expand description

Utility functions to validate that type paths in the user defined derives and substitutes exist in a type registry.

Functionsยง

registry_contains_type_path
Checks if a given type path is the type path of a type in the registry.
similar_type_paths_in_registry
Returns types in the PortableRegistry that share the identifier with the input path.
validate_substitutes_and_derives_against_registry
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.