ember-jsonapi-resources icon indicating copy to clipboard operation
ember-jsonapi-resources copied to clipboard

[WIP] Relationship changes

Open aars opened this issue 8 years ago • 0 comments

These are my WIP changes regarding relationship tracking.

This is:

  • live attr and rel tracking
  • handling 204 responses, dealing with ember-fetchjax change
  • seperate addRelationship and _addRelationship, the latter is private and does not track (relationships pushed by server are not dirty/changes)
    • [WIP] do the same for removeRelationship
  • move 'setupRelationshipTrackingto_resetRelationships`.
  • minor bugfixes (removal of toOne in changedRelationships)
  • minor cleanup (long includeRelationships if statement in updateResource)

aars avatar Mar 09 '17 15:03 aars