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

Hilla should tolerate classes using only one of @JsonValue and @JsonCreator #3095

Closed
cromoteca opened this issue Dec 30, 2024 · 0 comments · Fixed by #3097
Closed

Hilla should tolerate classes using only one of @JsonValue and @JsonCreator #3095

cromoteca opened this issue Dec 30, 2024 · 0 comments · Fixed by #3097
Assignees
Labels
enhancement New feature or request hilla Issues related to Hilla

Comments

@cromoteca
Copy link
Contributor

Describe your motivation

There are use cases for one of those annotations being used without the other one. See for example How to force Hilla not to consider java class with @JsonCreator as single-value?

Describe the solution you'd like

Such classes are not interpreted as domain objects and are treated as usual.

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hilla Issues related to Hilla
Projects
None yet
1 participant