We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3bed17 commit d0dc5cdCopy full SHA for d0dc5cd
types/field.go
@@ -1,19 +1,15 @@
1
package types
2
3
-import "github.com/graph-gophers/graphql-go/errors"
4
-
5
// FieldDefinition is a representation of a GraphQL FieldDefinition.
6
//
7
// http://spec.graphql.org/draft/#FieldDefinition
8
type FieldDefinition struct {
9
- Alias Ident
10
- Name Ident
11
- Arguments ArgumentsDefinition
12
- Type Type
13
- Directives DirectiveList
14
- Desc string
15
- Selections SelectionSet
16
- SelectionSetLoc errors.Location
+ Alias Ident
+ Name Ident
+ Arguments ArgumentsDefinition
+ Type Type
+ Directives DirectiveList
+ Desc string
17
}
18
19
// FieldsDefinition is a list of an ObjectTypeDefinition's Fields.
0 commit comments