-
-
Notifications
You must be signed in to change notification settings - Fork 141
Support @JsonSubTypes in schema generation and serialization #11
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
Comments
Sort of related: #60. |
If you update the |
@baharclerode I can do that too if there are no cases where lone |
@cowtowncoder I meant either/or. So a lone |
Any updates? |
@pasolid We typically add textual notes on issues if there are updates. So to my knowledge, no updates. |
(moved from FasterXML/jackson-dataformat-avro#28 authored by @osi)
I'd like to get the JsonSubTypes annotation working for schema generation and serialization.
For schema generation, I think it should be a union of all the possible sub-types.
For serialization, if the configuration is such that the type name would be included as a property, ignore that, since it will be included as the name of the record type.
I have written some failing tests, but it is unclear to me how to proceed, since the TypeIdResolver doesn't provided a way to interrogate all possible types.
The text was updated successfully, but these errors were encountered: