Commit 8ca9804f authored by Eric Myhre's avatar Eric Myhre

Finish enum type.

There's... not really much to it.
Signed-off-by: default avatarEric Myhre <hash@exultant.us>
parent 1cc1d2af
......@@ -25,7 +25,7 @@ type TypeFloat struct {
type TypeMap struct {
Name TypeName
Anon bool
KeyType Type
KeyType Type // must be ReprKind==string (e.g. Type==String|Enum).
ValueType Type
ValueNullable bool
}
......@@ -70,5 +70,6 @@ type ObjectField struct {
}
type TypeEnum struct {
// TODO
Name string
Values []string
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment