You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sounds like missing functionality. I don't know off-hand how easy it'd be to add: I think StringVisitor is the place to start from, if anyone has time and interest to look into this; followed by AvroSchemaHelper.createEnumSchema()
If anyone wants to tackle this, I'd be happy to help with PR.
@Sonic-Rage All access to annotations is via AnnotationIntrospector, specifically JacksonAnnotationIntrospector from jackson-databind. Handler mentioned has access to configured introspector.
Introspection would need to be done by caller of Schema.createEnum()
Need it to have the default key value pair in order to make enum forward compatible
Unless I'm missing something I can't find a way to configure the class to fill in the default value when creating the schema
Configured the AvroMapper in some groovy to create the schema for reference
The text was updated successfully, but these errors were encountered: