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

Add disableJsonB option to NOT use avaje-jsonb in code generation eve… #574

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

rbygrave
Copy link
Contributor

…n if it's in the classpath

@rbygrave rbygrave self-assigned this Mar 10, 2025
Copy link
Collaborator

@SentryMan SentryMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but what brought this on?

@rbygrave
Copy link
Contributor Author

Had someone creating a Nima rest api, it was using JAX-B generated classes for request/response types ... and those used java.util.Calendar [and also no setters for the collections]. So there wasn't a relatively quick/easy way to turn off the use of avaje-jsonb in the generated code and just use Jackson [apart from removing avaje-jsonb entirely from the classpath].

So this is there to support that type of case, where someone hits some issue and just wants to "downgrade" to using Jackson [perhaps temporarily until any issue with avaje-jsonb is sorted].

@rbygrave rbygrave merged commit 70d908c into master Mar 10, 2025
7 checks passed
@rbygrave rbygrave deleted the feature/add-disableJsonB-option branch March 10, 2025 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants