Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatValue ¶
FormatValue returns a string that describes the value
Types ¶
type Field ¶
type Field struct { Args Object Selection SelectionSet }
Field represents a field in an operation
type Node ¶
type Node interface { Query(context.Context, *Field) (Value, []error) Mutate(context.Context, *Field) (Value, []error) Subscribe(context.Context, *Field, Callback) (uintptr, []error) Unsubscribe(context.Context, uintptr) []error }
Node interface
type SelectionSet ¶
SelectionSet in an operation selects the set of information it needs, and will receive exactly that information and nothing more, avoiding over‐fetching and under‐fetching data.
Click to show internal directories.
Click to hide internal directories.