You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As requested by @runspired, here are the things I found to be undocumented, but required to be known for using ember-data:
snapshot, as passed into many DS.Adapter functions.
type, as passed into many DS.Adapter functions.
The meta object given to the function passed to the functions DS.Model.eachRelationship and DS.Model.eachAttribute.
How to notify the store about a record deletion from the server side.
DS.belongsTo and DS.hasMany being async by default.
When to use unloadRecord.
How to unset attributes in a way that they revert back to the defaultValue instead of null.
A full step-by-step guide on how to implement the whole ember-data layer with a custom adapter that does not inherit from DS.JSONAdapter (including serializers).
The undocumented fact that you have to push all changes that happened locally back to the store once they're on the server
As requested by @runspired, here are the things I found to be undocumented, but required to be known for using ember-data:
DS.Model.eachRelationship
andDS.Model.eachAttribute
.DS.belongsTo
andDS.hasMany
being async by default.unloadRecord
.defaultValue
instead ofnull
.Related: #4375
The text was updated successfully, but these errors were encountered: