Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Field ¶
type Field struct { Name string Description string Args []inputValue Type typeRef IsDeprecated bool DeprecationReason string }
Field represents a field of a GraphQL type
func (Field) GetHumanTypeName ¶
GetHumanTypeName is a human-readable type name
func (Field) GetTypeName ¶
GetTypeName gets the name of the field's type
type FullType ¶
type FullType struct { Kind string Name string Description string Fields []Field InputFields []inputValue Interfaces []typeRef EnumValues []struct { Name string Description string IsDeprecated bool DeprecationReason string } PossibleTypes []typeRef }
FullType is a full type description
type Schema ¶
type Schema struct { QueryType struct { Name string } MutationType *struct { Name string } SubscriptionType *struct { Name string } Types []FullType Directives []struct { Name string Description string Locations []string Args []inputValue } }
Schema is a GraphQL schema, the result of an introspection query
func (Schema) GetQueryType ¶
GetQueryType returns the full query type
Click to show internal directories.
Click to hide internal directories.