Documentation ¶
Index ¶
Constants ¶
View Source
const ( QUERY DirectiveLocation = "QUERY" MUTATION = "MUTATION" FIELD = "FIELD" FRAGMENT_DEFINITION = "FRAGMENT_DEFINITION" FRAGMENT_SPREAD = "FRAGMENT_SPREAD" INLINE_FRAGMENT = "INLINE_FRAGMENT" )
View Source
const ( SCALAR TypeKind = "SCALAR" OBJECT = "OBJECT" INTERFACE = "INTERFACE" UNION = "UNION" ENUM = "ENUM" INPUT_OBJECT = "INPUT_OBJECT" LIST = "LIST" NON_NULL = "NON_NULL" )
Variables ¶
This section is empty.
Functions ¶
func ComputeSchemaJSON ¶
func ComputeSchemaJSON(schemaBuilderSchema schemabuilder.Schema) ([]byte, error)
ComputeSchemaJSON returns the result of executing a GraphQL introspection query.
Types ¶
type Directive ¶
type Directive struct { Name string Description string Locations []DirectiveLocation Args []InputValue }
type DirectiveLocation ¶
type DirectiveLocation string
type InputValue ¶
Click to show internal directories.
Click to hide internal directories.