Documentation / @warp-drive/build-config / deprecations / ENABLE_LEGACY_SCHEMA_SERVICE
ts
const ENABLE_LEGACY_SCHEMA_SERVICE: boolean = true;
Defined in: deprecations.ts:443
ember-data:schema-service-updatesWhen the flag is true
(default), the legacy schema service features will be enabled on the store and the service, and deprecations will be thrown when they are used.
Deprecated features include:
Store.registerSchema
method is deprecated in favor of theStore.createSchemaService
hookStore.registerSchemaDefinitionService
method is deprecated in favor of theStore.createSchemaService
hookStore.getSchemaDefinitionService
method is deprecated in favor ofStore.schema
propertySchemaService.doesTypeExist
method is deprecated in favor of theSchemaService.hasResource
methodSchemaService.attributesDefinitionFor
method is deprecated in favor of theSchemaService.fields
methodSchemaService.relationshipsDefinitionFor
method is deprecated in favor of theSchemaService.fields
method
Since
5.4
Until
6.0