Skip to content

Commit

Permalink
Merge pull request #120 from abhimanyusinghgaur/master
Browse files Browse the repository at this point in the history
Match graphql spec
  • Loading branch information
vvakame authored Feb 14, 2020
2 parents a7a59ec + d0b7659 commit f5ceb57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions validator/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ func ValidateSchemaDocument(ast *SchemaDocument) (*Schema, *gqlerror.Error) {
},
&FieldDefinition{
Name: "__type",
Type: NonNullNamedType("__Type", nil),
Type: NamedType("__Type", nil),
Arguments: ArgumentDefinitionList{
{Name: "name", Type: NamedType("String", nil)},
{Name: "name", Type: NonNullNamedType("String", nil)},
},
},
)
Expand Down

0 comments on commit f5ceb57

Please sign in to comment.