-
Notifications
You must be signed in to change notification settings - Fork 3k
Adjust the Hibernate ORM's JSON/XML formatter modification checks #49275
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
Adjust the Hibernate ORM's JSON/XML formatter modification checks #49275
Conversation
/cc @gsmet (hibernate-orm) |
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.
Nice, hopefully this will get rid of false positives. Looks like these changes are unrelated to the metamodel checks though, so maybe we can merge this separately without waiting for my PR.
…would actually match the default one
789fd4b
to
7a42453
Compare
Status for workflow
|
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.
FTR, my new error message is this:
|
Thanks to both of you! |
Opening as a draft as it's based on Marco's PR: #49271
I've added "reasons" why the check is failing to help users identify what's been modified and hopefully help them.
Then for the checks themselves ... looking through the Jackson properties:
quarkus/extensions/jackson/runtime/src/main/java/io/quarkus/jackson/runtime/ConfigurationCustomizer.java
Lines 27 to 56 in b7b742e
I guess unless the user switched back to the defaults -- they are potentially in trouble, so I tried to include that and check the values.