Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct {
schema.Field
TypeName string
MethodIndex int
FieldIndex []int
HasContext bool
HasError bool
ArgsPacker *packer.StructPacker
ValueExec Resolvable
TraceLabel string
}
func (*Field) UseMethodResolver ¶
type List ¶
type List struct {
Elem Resolvable
}
type Meta ¶
type Meta struct {
FieldSchema Field
FieldType Field
FieldTypename Field
Schema *Object
Type *Object
}
Meta defines the details of the metadata schema for introspection.
type Object ¶
type Object struct {
Name string
Fields map[string]*Field
TypeAssertions map[string]*TypeAssertion
}
type Resolvable ¶
type Resolvable interface {
// contains filtered or unexported methods
}
type Schema ¶
type Schema struct {
*Meta
schema.Schema
Query Resolvable
Mutation Resolvable
ResolverQuery reflect.Value
ResolverMutation reflect.Value
Subscription Resolvable
}
type TypeAssertion ¶
type TypeAssertion struct {
MethodIndex int
TypeExec Resolvable
}
Click to show internal directories.
Click to hide internal directories.