angular-restmod icon indicating copy to clipboard operation
angular-restmod copied to clipboard

json api and "attributes"

Open philippeluickx opened this issue 9 years ago • 4 comments

Is it possible that the standard AMS style is not parsing the "attributes" properly? I am following the jsonapi.org specs, but see nothing implemented here for attributes property.

philippeluickx avatar Aug 14 '15 11:08 philippeluickx

:+1: I'm going to try to implement a new style that uses the jsonapi.org spec. Let me know if you want to help out.

jimmybaker avatar Sep 24 '15 19:09 jimmybaker

Awesome! I am pretty green on this, but would love to help with user testing!

philippeluickx avatar Sep 25 '15 08:09 philippeluickx

JSON API 1.0 has a angular implementation "angular-jsonapi". It seems to be a better choice when it is cumbersome to write a new style for that in angular-restmod

And after try out some codes myself, I think it may be better to keep attributes the way it is. After all, $save requests also require attributes.

hardywu avatar Oct 06 '15 09:10 hardywu

Any luck with the jsonapi style? Can anybody share the code? "angular-jsonapi" is not pretty stable and is not complete as well regarding relations.

utf4 avatar Oct 27 '16 15:10 utf4