ember-jsonapi-resources
ember-jsonapi-resources copied to clipboard
[WIP] Relationship changes
These are my WIP changes regarding relationship tracking.
This is:
- live attr and rel tracking
- handling 204 responses, dealing with ember-fetchjax change
- seperate
addRelationshipand_addRelationship, the latter is private and does not track (relationships pushed by server are not dirty/changes)- [WIP] do the same for
removeRelationship
- [WIP] do the same for
- move 'setupRelationshipTracking
to_resetRelationships`. - minor bugfixes (removal of
toOneinchangedRelationships) - minor cleanup (long
includeRelationshipsif statement inupdateResource)