Skip to content

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-updates

When 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 the Store.createSchemaService hook
  • Store.registerSchemaDefinitionService method is deprecated in favor of the Store.createSchemaService hook
  • Store.getSchemaDefinitionService method is deprecated in favor of Store.schema property
  • SchemaService.doesTypeExist method is deprecated in favor of the SchemaService.hasResource method
  • SchemaService.attributesDefinitionFor method is deprecated in favor of the SchemaService.fields method
  • SchemaService.relationshipsDefinitionFor method is deprecated in favor of the SchemaService.fields method

Since

5.4

Until

6.0

Released under the MIT License.