go-ipld-prime
go-ipld-prime copied to clipboard
Example schema and data
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.
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.