json-api-client icon indicating copy to clipboard operation
json-api-client copied to clipboard

Achieve compatability with JSON:API 1.1

Open Art4 opened this issue 1 year ago • 1 comments
trafficstars

Closes #90.

TODO

  • [x] Allow new lid property in Resource Objects https://jsonapi.org/format/1.1/#document-resource-objects
  • [x] Allow new lid property in Resource Identifier Objects https://jsonapi.org/format/1.1/#document-resource-identifier-objects
  • [x] Allow new ext and profile properties in Jsonapi object https://jsonapi.org/format/1.1/#document-jsonapi-object
  • [x] Allow new describedby property in the top level Links object https://jsonapi.org/format/1.1/#document-top-level
  • [x] Allow new possible members in top level Object defined by an extension https://jsonapi.org/format/1.1/#document-top-level
  • [ ] Allow new possible member in Relationship Objects defined by an extension https://jsonapi.org/format/1.1/#document-resource-object-relationships
  • [ ] Allow new possible member in Relationship Link Objects defined by an extension https://jsonapi.org/format/1.1/#document-resource-object-relationships
  • [ ] Allow Links containing a string (instead of an object) https://jsonapi.org/format/1.1/#document-links
  • [x] Allow Link Objects containing new members like rel, title, describedby, type and hreflang https://jsonapi.org/format/1.1/#auto-id--link-objects
  • [ ] Allow new @-Members https://jsonapi.org/format/1.1/#document-member-names-at-members
  • [x] Allow new header member in Error Source objects https://jsonapi.org/format/1.1/#error-objects

Art4 avatar Jul 19 '24 07:07 Art4

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (d156fb4) to head (19df2d6).

Additional details and impacted files
@@             Coverage Diff             @@
##                v1.x       #96   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
+ Complexity       298       292    -6     
===========================================
  Files             29        29           
  Lines            627       625    -2     
===========================================
- Hits             627       625    -2     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Jul 19 '24 07:07 codecov-commenter