Documentation ¶
Overview ¶
introspection implements the spec defined in https://github.com/facebook/graphql/blob/master/spec/Section%204%20--%20Introspection.md#schema-introspection
Index ¶
- Constants
- type Directive
- type EnumValue
- type Field
- type InputValue
- type Schema
- type Type
- func (t *Type) Description() string
- func (t *Type) EnumValues(includeDeprecated bool) []EnumValue
- func (t *Type) Fields(includeDeprecated bool) []Field
- func (t *Type) InputFields() []InputValue
- func (t *Type) Interfaces() []Type
- func (t *Type) Kind() string
- func (t *Type) Name() *string
- func (t *Type) OfType() *Type
- func (t *Type) PossibleTypes() []Type
Constants ¶
View Source
const Query = `` /* 1306-byte string literal not displayed */
Query is the query generated by graphiql to determine type information
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directive ¶
type Directive struct { Name string Description string Locations []string Args []InputValue }
type Field ¶
type Field struct { Name string Description string Type *Type Args []InputValue // contains filtered or unexported fields }
func (*Field) DeprecationReason ¶
func (*Field) IsDeprecated ¶
type InputValue ¶
type Schema ¶
type Schema struct {
// contains filtered or unexported fields
}
func WrapSchema ¶
func (*Schema) Directives ¶
func (*Schema) MutationType ¶
func (*Schema) SubscriptionType ¶
type Type ¶
type Type struct {
// contains filtered or unexported fields
}
func WrapTypeFromDef ¶
func WrapTypeFromDef(s *ast.Schema, def *ast.Definition) *Type
func (*Type) Description ¶
func (*Type) EnumValues ¶
func (*Type) InputFields ¶
func (t *Type) InputFields() []InputValue
func (*Type) Interfaces ¶
func (*Type) PossibleTypes ¶
Click to show internal directories.
Click to hide internal directories.