-
Notifications
You must be signed in to change notification settings - Fork 683
Out of the box Pageable JSON deserializer [DATACMNS-758] #1219
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
Comments
Jens Schauder commented Having a Therefore I'm marking this issue as "not likely" and will close it if no new arguments in favor of it a brought forward |
Filip Hrisafov commented Why do you think it is not a common scenario? We have objects with complex search criterias, apart from the different custom criteria that we have, we want to sent |
Oliver Drotbohm commented That's in place with |
Filip Hrisafov commented Yes it is. However, that works only if you send the Is the suggestion to use query parameters for the |
Oliver Drotbohm commented I'd love to learn about an example where sending that information via the request body makes sense. |
Filip Hrisafov commented I figured that it is not a common scenario to be considered shipping it out of the box. A custom Jackson deserializer does the work.You can close the issue if you want to |
Filip Hrisafov opened DATACMNS-758 and commented
While trying out some projects with spring data I realized that there is not out of the box deserializer from JSON to Pageable.
I saw that there is the
PageableHandlerMethodArgumentResolver
which is used to resolve Pageable objects from the query string. I think that it might be a good a thing if there is somtething similar that can be used to automatically create Pageable objects from JSON.A use case for this would be to use Pageable objects in objects that are being send with JSON.
I am sorry if this is the wrong place for this issue. Please let me know where I should submit it if this is not the place
No further details from DATACMNS-758
The text was updated successfully, but these errors were encountered: