Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse request options: sparse fields, sorting, pagination, filtering #44

Closed
lode opened this issue Mar 3, 2019 · 4 comments
Closed

Comments

@lode
Copy link
Owner

lode commented Mar 3, 2019

Next to generating documents we could also parse request options from a client to make it easy to understand what was requested.

@nebur81
Copy link

nebur81 commented Apr 2, 2019

@lode I was thinking about use your library in one of my project but I'd like to know if this enhancement will be available in the near future (2-3 months, 1 year...). And also the requests for creating, updating and deleting resources

@lode
Copy link
Owner Author

lode commented Apr 5, 2019

Ha good question. I don't know of course, can't really promise it. But this issue is the one I actively bump into in my current project as well. Currently I still duct-tape it to get to know the way I'd like to work, maybe soon I find the time to come up with a nice interface for this library. If you can share the way you'd like to use it, that could help get multiple perspectives!

About the CRUD actions I'm a bit unsure, I doubt whether this library can do much or whether it is mostly user-space code. But if you have thoughts, please feel free to leave them in #5!

@nebur81
Copy link

nebur81 commented Apr 8, 2019

Now I'm very busy at work, but asap I'll give you some ideas and perspectives to see if they can help you.

@lode
Copy link
Owner Author

lode commented Apr 7, 2021

This is implemented in https://github.com/lode/jsonapi/releases/tag/v2.2.0.

@nebur81 I'd love to hear if this is useful to you and what could be improved!

@lode lode closed this as completed Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants