tarantool/avro-schema

Union allow several branches of the same type

Khatskevich opened this issue · 0 comments

E.e. several arrays.
Union with several branches of the same type cannot be encoded, however, it passes create stage and validate works somehow.

avro schema doc

We have to prohibit this behavior on create stage.

Types to check:

  • array
  • map