Skip to content

Commit ac2f86e

Browse files
committed
change TypeName to NamedType for clearer semantics
1 parent dd0b9e8 commit ac2f86e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Section 8 -- Grammar.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ FragmentDefinition : fragment FragmentName on TypeCondition Directives? Selectio
286286

287287
FragmentName : Name but not `on`
288288

289-
TypeCondition : TypeName
289+
TypeCondition : NamedType
290290

291291

292292
### Values
@@ -373,16 +373,16 @@ GraphQL describes the schema of the data it provides using a type system. These
373373
types are referred to in the document when defining query variables.
374374

375375
Type :
376-
- TypeName
376+
- NamedType
377377
- ListType
378378
- NonNullType
379379

380-
TypeName : Name
380+
NamedType : Name
381381

382382
ListType : [ Type ]
383383

384384
NonNullType :
385-
- TypeName !
385+
- NamedType !
386386
- ListType !
387387

388388
**Semantics**

0 commit comments

Comments
 (0)