Sourcetype const_value = [ | `Null| `Int of int| `Float of float| `String of string| `Bool of bool| `Enum of string| `List of const_value list| `Assoc of (string * const_value) list
] Sourcetype value = [ | `Null| `Int of int| `Float of float| `String of string| `Bool of bool| `Enum of string| `Variable of string| `List of value list| `Assoc of (string * value) list
] Sourcetype directive = {name : string;arguments : (string * value) list;
} Sourceand field = {alias : string option;name : string;arguments : (string * value) list;directives : directive list;selection_set : selection list;
} Sourceand inline_fragment = {type_condition : string option;directives : directive list;selection_set : selection list;
} Sourcetype fragment = {name : string;type_condition : string;directives : directive list;selection_set : selection list;
} Sourcetype typ = | NamedType of string| ListType of typ| NonNullType of typ
Sourcetype optype = | Query| Mutation| Subscription