requireMinimumSchemaVersion Method @beta

Throws an error if the version of the schema specified by schemaName is older than minimumVersion. The error will indicate the featureName that requires this minimum version. Use this to produce more helpful errors when interacting with APIs that operate on classes introduced as schemas evolve.

requireMinimumSchemaVersion(schemaName: string, minimumVersion: ECVersion, featureName: string): void

Parameter Type Description
schemaName string  
minimumVersion ECVersion  
featureName string  

Returns - void

Defined in

Last Updated: 08 November, 2025