getSchemaSync Method

Attempts to retrieve a Schema with the given SchemaKey by searching the configured Schema strings.

getSchemaSync(schemaKey: SchemaKey, matchType: SchemaMatchType, context: SchemaContext): undefined | Schema

Parameter Type Description
schemaKey SchemaKey  
matchType SchemaMatchType The SchemaMatchType.
context SchemaContext The SchemaContext that will control the lifetime of the schema and holds the schema's references, if they exist.

Returns - undefined | Schema

Defined in

Last Updated: 21 February, 2025