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

Example schema and data

Open willscott opened this issue 4 years ago • 1 comments

It would be very useful to have a schema/gen/go schema that exercises the different types and edges of the schema (which schemaschema already does in a meta way), along with a car (targeting maybe ~1M?) of data that conforms to that schema. This would allow codecs / other tools working with IPLD data to have a standard basis they can use for testing and examples.

willscott avatar Dec 08 '20 17:12 willscott

This would also give us more confidence with the added test coverage, I think. There are some refactors I want to do in the code generator, but I'm a bit worried that some of the edge cases aren't covered, like the bug you recently encountered.

mvdan avatar Dec 18 '20 09:12 mvdan