« All deprecation guides
Deprecation Guide for Deprecate String Arg Schemas
until: 5.0
id: ember-data:deprecate-string-arg-schemas
Deprecates schema.attributesDefinitionFor(type)
and schema.relationshipsDefinitionFor(type)
in favor of a consistent object signature (identifier | { type }
).
To resolve change:
- store.getSchemaDefinitionService().attributesDefinitionFor('user')
+ store.getSchemaDefinitionService().attributesDefinitionFor({ type: 'user' })