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

(3.0) Remove existing "request payload" functionality #689

Closed
cowtowncoder opened this issue Mar 21, 2021 · 0 comments
Closed

(3.0) Remove existing "request payload" functionality #689

cowtowncoder opened this issue Mar 21, 2021 · 0 comments
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x
Milestone

Comments

@cowtowncoder
Copy link
Member

cowtowncoder commented Mar 21, 2021

In Jackson 2.8, an API endpoint was added to attach "request payload" with parser. I think that API does not fit well with the design and needs to be rethought. As such, I'll remove it from 3.0.0-SNAPSHOT (master).
This removes one more aspect of mutability: if source is to be attached, it should be handled through builder-style mechanism (probably via ObjectReadContext somehow; that would allow passing it via ObjectReader).

But it definitely should not be done through setter in JsonParser for 3.0.

@cowtowncoder cowtowncoder added the 3.x Issues to be only tackled for Jackson 3.x, not 2.x label Mar 21, 2021
@cowtowncoder cowtowncoder added this to the 3.0.0 milestone Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x
Projects
None yet
Development

No branches or pull requests

1 participant