addSchema Method
Adds the schema to this context. Use addSchemaPromise instead when asynchronously loading schemas.
addSchema(schema: Schema): Promise<void>
Parameter | Type | Description |
---|---|---|
schema | Schema | The schema to add to this context |
Returns - Promise
Defined in
- ecschema-metadata/src/Context.ts Line 269
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.