jsonapi-client icon indicating copy to clipboard operation
jsonapi-client copied to clipboard

Support include, fields and sort

Open fsmanuel opened this issue 7 years ago • 3 comments

I would like to see support for include, fields and sort for fetching documents.

Is it on your roadmap? I can submit PRs if you like the idea to support those features.

fsmanuel avatar Jan 31 '18 13:01 fsmanuel

I think it should be very easy to implement the features. I saw you already handle included in the document so I would propose to implement the other query params like you did it with the filter.

The only think I don't know yet is how to handle sparse fieldsets in combination with the schema. Do you have any hints on that?

fsmanuel avatar Jan 31 '18 15:01 fsmanuel

Both include, sort and sparse fieldset are implemented in the upcoming version.

divums avatar May 03 '19 07:05 divums

FWIW, I created a PR to add Sort: #58

CofenseLabs-Doug avatar Apr 29 '22 19:04 CofenseLabs-Doug