Documentation
¶
Index ¶
Constants ¶
View Source
const ( Query = "Query" Mutation = "Mutation" Subscription = "Subscription" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { ast.FieldDefinition TypeName string MethodIndex int FieldIndex []int HasContext bool HasError bool IsFieldFunc 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 FieldService Field Schema *Object Type *Object Service *Object }
Meta defines the details of the metadata schema for introspection.
type Resolvable ¶
type Resolvable interface {
// contains filtered or unexported methods
}
type Schema ¶
type Schema struct { *Meta ast.Schema Query Resolvable Mutation Resolvable Subscription Resolvable QueryResolver reflect.Value MutationResolver reflect.Value SubscriptionResolver reflect.Value }
type TypeAssertion ¶
type TypeAssertion struct { MethodIndex int TypeExec Resolvable }
Click to show internal directories.
Click to hide internal directories.