4 ms·
The main reason was to unify patches to attributes with patches to relationships, which do require richer semantics. It also makes it really easy to add a comp
by wycats 13y ago
The main reason was to unify patches to attributes with patches to relationships, which do require richer semantics.
It also makes it really easy to add a compound PATCH (updates to posts/1/title, posts/1/rels/author, posts/2/body, etc. all at the same time) in a single format. Once I bought into JSON Patch for the rest of this stuff, I figured I may as well use it for attributes :)
- mahmoudimus 13y agoInteresting, how can I get more involved with how this is going to shape up?
- steveklabnik 13y agoYou'll see me link to a repo soon with the text of this.
- steveklabnik 13y agoHere it is: https://github.com/json-api/json-api https://github.com/json-api/json-api