go-ipld-prime icon indicating copy to clipboard operation
go-ipld-prime copied to clipboard

issues with null's when loading data into an 'Any' node

Open willscott opened this issue 3 years ago • 1 comments

was trying to understand data of an unknown schema, and wanted to load it into an Any node from cbor.

got the following rejection: error: cannot match schema: union structure constraints for types.Any.Repr caused rejection: AssignNull called but is not valid for any of the kinds that are valid members of this union

willscott avatar Oct 07 '20 17:10 willscott