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

Provide out of the box client-side support for Pageable/Page encoding/deserialization #3031

Closed
gonzalad opened this issue Jan 23, 2024 · 1 comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply

Comments

@gonzalad
Copy link

Issue 3024 provided oob support for server-side support of Page object (great idea by the way !).

Is it possible to add this kind of 'out of the box' support for RestTemplate, WebClient, RestClient ?

  • Pageable encoding.
  • Page (or PageModel ?) deserialization.

Thanks,
Adrian

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 23, 2024
@mp911de
Copy link
Member

mp911de commented Jan 23, 2024

The referenced ticket solves primarily the issue that Jackson treats enums differently than other objects and the fact, that internal changes surfaced through how Jackson handles serialization.

We do not have any plans on providing a generalized media type for page rendering. We also do not plan on supporting pages on the client side as Page are Spring Data domain types that aren't intended for rendering JSON/XML responses or parsing these. There's just too little common ground and too much desire to customize certain aspects.

@mp911de mp911de closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2024
@mp911de mp911de added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

No branches or pull requests

3 participants