Open
Description
ts, err := ipld.LoadSchemaBytes([]byte(`
type Foo struct {
a Int
b Int
c String
}
type Bar struct {
d Bytes
e Bool
}
type Baz union {
| Foo "foo"
| Bar "bar"
} representation keyed
`))
if err != nil {
log.Fatal(err)
}
gengo.Generate("xxx", "pkgname", *ts, &gengo.AdjunctCfg{})
Panics at...
panic: add more type switches here :), failed at type Any
- I would think
Generate
should error, not panic.
2, Is the generator in a good state or is it not up to date with the current state of IPLD? I noticed the CLI tool was archived.
Metadata
Assignees
Type
Projects
Status
🗄️ Backlog