Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Allow defining unions in members:
class MyDatum { @Nullable @Union({String.class, Long.class, Other.class,...}) Object o; }
It can currently be implemented using @AvroSchema like this, but it is seems in my oppinion more verbose and more difficult to maintain:
@AvroSchema("[\"null\",\"string\",...")
Attachments
Issue Links
- links to