Skip to content
This repository was archived by the owner on Aug 28, 2021. It is now read-only.
This repository was archived by the owner on Aug 28, 2021. It is now read-only.

nomdl: can't round-trip ref types #3851

Open
@aboodman

Description

@aboodman
	noms := types.NewValueStore((&chunks.TestStorage{}).NewView())
	emptyBlob := noms.WriteValue(types.NewEmptyBlob(noms))
	foo := types.NewStruct("", types.StructData{"b": emptyBlob})
	s := types.EncodedValue(foo)
	fmt.Println(s) // Prints: struct {b: #2eulo8v8rihcjm0e93brv14dopakkder}
	v := nomdl.MustParse(noms, s)
	fmt.Println(types.EncodedValue(v))

@arv - am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions