The legacy ember-data transform of one codec. ember-data gives the @attr options to the
transform, so @attr('money', { wire: 'decimal' }) reads the decimal wire form.
Note: ember-data runs a transform only in a serializer. store.push does not run it, so a
pushed record shows the raw value. Use a SchemaRecord field (valueField) for pushed data.
The legacy ember-data transform of one codec. ember-data gives the
@attroptions to the transform, so@attr('money', { wire: 'decimal' })reads the decimal wire form.Note: ember-data runs a transform only in a serializer.
store.pushdoes not run it, so a pushed record shows the raw value. Use a SchemaRecord field (valueField) for pushed data.