tarantool/avro-schema

nullable reference union

Khatskevich opened this issue · 1 comments

local schema = [[{
        "type": "record", "name": "X", "fields": [
            {"name": "f1", "type": "int*"},
            {"name": "f2", "type": {
                "type": "array*", "items": "string*"}},
            {"name": "f3", "type":[
                "int", "X*"]},
            {"name": "f4", "type": {
                "type": "map", "values": "int*"}}]}
        ]]

error

create	"X\/f3\/<union>\/<branch-2>: Union may not immediately contain other unions"

already fixed in 2.3.1