-
Notifications
You must be signed in to change notification settings - Fork 57
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
feat: add support for JsonSubTypes #1336
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1336 +/- ##
==========================================
+ Coverage 96.18% 96.27% +0.08%
==========================================
Files 14 17 +3
Lines 1679 1824 +145
Branches 139 155 +16
==========================================
+ Hits 1615 1756 +141
- Misses 64 68 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
This is what I see from the
and then it fails with
|
You tried too fast ;) |
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.
LGTM
BTW, is it gonna be supported by |
What support should be added? You'll send normal types anyway, never the union. It doesn't exist in Java. |
Yeah, I noticed that |
Jackson will handle it to create an instance of the right type in Java, so it is not part of the object. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
This ticket/PR has been released with Hilla 2.3.0.alpha6 and is also targeting the upcoming stable 2.3.0 version. |
Adds a union type for JsonSubTypes.
This is the supported configuration:
Closes #438
Closes #1255