type A struct {
Foo []B
}
type B struct {
Cats uint64
ParrotQuote string
DungHeap Heap
}
type Heap struct {
// heap related fields
}
And I only made an atlas entry for A. When marshaling an instance of A however, it failed with cryptic messages such as "value already consumed". I finally figured out that making atlas entries for B and Heap made things happier, but it took me a while.
I had a type that looked something like:
And I only made an atlas entry for
A
. When marshaling an instance of A however, it failed with cryptic messages such as "value already consumed". I finally figured out that making atlas entries forB
andHeap
made things happier, but it took me a while.