-
Notifications
You must be signed in to change notification settings - Fork 39
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
PSM-442 Add AmbiguousJsonCreatorCheck
#2
Conversation
Didn't scrutinize the code too much yet, but looks clean. Before I dig in: what would be a reason for not merging this? :) |
Two reasons:
|
Something's better than nothing in this case, I think :) |
Then, reviews are more than welcome. |
On the list :) |
Rebased. |
72fde5b
to
27708ac
Compare
Rebased and added a small commit following a look I had yesterday. Should focus on other stuff today, but as you can see I have not forgotten :) |
27708ac
to
710e8da
Compare
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.
Rebased and added a commit. Suggested commit message:
PSM-442 Flag likely-wrong `@JsonCreator` usages (#2)
Will merge if you're okay with the changes.
.expectErrorMessage( | ||
"X", | ||
Predicates.containsPattern( | ||
"JsonCreator.Mode should be set for single-argument creators")); |
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.
This is really cool; should also do this elsewhere.
710e8da
to
ae1fd86
Compare
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.
Rebased. @hisener okay to merge? :)
I think it's fine to merge. It's no-op anyway. |
The error prone check that is mentioned in https://github.com/PicnicSupermarket/picnic-java-support-modules/pull/601. But I am not sure if we should merge this. 🤔