avro-ts-cli: Wrong type info for union types
anton-johansson opened this issue · comments
Anton Johansson commented
See code sandbox:
https://codesandbox.io/s/javascript-forked-k99d2s
If I have union of null
and int
, the integer value is wrapped within an object. But avro-ts-cli
does not seem to generate it properly. It generates null | int
(which would be ideal of course, but it does not match Avro).
Ideas?