ISchemaLocater Interface

Beta  

The interface defines what is needed to be a ISchemaLocater, which are used in a SchemaContext.

Implemented by

Methods

Name Description
getSchema<T extends Schema>(schemaKey: SchemaKey, matchType: SchemaMatchType, context?: SchemaContext): Promise<T extends Schema | undefined> Attempts to get a schema from the locater.  
getSchemaSync<T extends Schema>(schemaKey: SchemaKey, matchType: SchemaMatchType, context?: SchemaContext): T extends Schema | undefined Attempts to get a schema from the locater.  

Defined in

Last Updated: 01 December, 2021