A registry for storing and managing metadata associated with schemas. This class provides methods to get, extend, remove, and check metadata for a given schema.
class SchemaMetaRegistryExtends or sets the metadata for a given schema.
Return the current value of the channel.
Returns a mapping of channel instances for each property in the schema using the associated metadata in the registry.
This is used to create the channels object that's passed to the Graph constructor.
Returns a modified schema that introspectively looks at all keys of the provided
object schema, and applies the augmentations based on meta provided with those keys
in the registry and the selectors provided in the effects parameter.
This assumes that the passed in schema is the "root" schema object for a graph where
the keys of the schema are the channels of the graph. Because we need to represent
the input of a graph in a couple of different ways, the effects parameter allows
us to apply those augmentations based on pre determined conditions.
Checks if metadata exists for a given schema.
Removes the metadata associated with a given schema.