-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Allow @JsonAnySetter
on Creators
#4558
Merged
Merged
Changes from 16 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
10e60b9
Implement all
JooHyukKim b9b43f3
Order methods in PropertyBasedCreator
JooHyukKim 2ec9140
Clean up anySetter discovery during building beanDeserialier.addBeanP…
JooHyukKim ee9afc0
Implement separate constructCreatorPropertyAnySetter()
JooHyukKim adb5d1e
refactor: fix indents
JooHyukKim fb36d8e
feature: Add index field to SettableAnyProperty so PropertyValueBuffe…
JooHyukKim 40aaf88
test : Add record tests
JooHyukKim c66ca73
Add support for ObjectNode
JooHyukKim 326e491
Clean up rest of the code
JooHyukKim c076683
Merge branch '2.18' into 562-version2
JooHyukKim bf91015
Refactor : simplify implementations
JooHyukKim 7d40a43
Another clean up
JooHyukKim b96725c
Update SettableAnyProperty.java
JooHyukKim 0792312
Merge branch '2.18' into 562-version2
cowtowncoder 346ff29
Merge branch '2.18' into 562-version2
cowtowncoder a0da86f
Merge branch '2.18' into 562-version2
cowtowncoder 0e11a15
Revise comment and throw UnsupportedOperationException in SettableAny…
JooHyukKim d678cb4
Replace _consumedFlag, by actually using ProeprtyValue class
JooHyukKim e910875
Minor comment addition
cowtowncoder 93ad870
Minor renaming, reordering, to unify handling (same order of type che…
cowtowncoder b3a37ef
One more comment add
cowtowncoder b5ef0d3
minor comment improvement
cowtowncoder 6cefc8e
Update tests slightly: no 1 failure as behavior not quite correct (wr…
cowtowncoder e05336d
Extend tests, fix an issue with combined buffering of non-creator vs …
cowtowncoder b482bd8
Update release notes
cowtowncoder 22952bb
Fix the failing test
cowtowncoder 01c0cc5
Minor error reporting improvement
cowtowncoder 34c0411
Test improvement
cowtowncoder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we lose information on any-setter, and only call introspector to find multiples here... but then need to re-introspect later on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remembered now, this code serves two purposes.
@JsonProperty
) throws error.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LMK if you have better idea with the second problem I am facing, @cowtowncoder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. Yes. For that purpose, we could only do a lookup if
name
not found. Let me think about this a bit, good point, something is needed here.