Open dacreify opened 4 years ago
The match-clj? implementation on RecordType doesn't check if clj-map is actually a map, which it may not be if part of a type union.
match-clj?
RecordType
clj-map
jackdaw.serdes.avro-test/schema-type-test
(testing "union"
avro-schema
record-1-schema
Summary
The
match-clj?
implementation onRecordType
doesn't check ifclj-map
is actually a map, which it may not be if part of a type union.Repro
jackdaw.serdes.avro-test/schema-type-test
to the(testing "union"
formavro-schema
binding moverecord-1-schema
so that it's the first element of the vector