Skip to content

Commit a028d8a

Browse files
committed
Merge pull request #118 from joliss/cleanup
Minor cleanup
2 parents 54f6d59 + 97c48a3 commit a028d8a

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

spec/Section 2 -- Language.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,6 @@ FragmentSpreadDirectives(fragmentSpread) :
947947
* Let {directives} be the set of directives on {fragmentSpread}
948948
* Let {fragmentDefinition} be the FragmentDefinition in the document named {fragmentSpread} refers to.
949949
* For each {directive} in directives on {fragmentDefinition}
950-
* If {directives} does not contain a directive named {directive}.
951-
* Add {directive} into {directives}
950+
* If {directives} does not contain a directive named {directive}
951+
* Add {directive} into {directives}
952952
* Return {directives}

spec/Section 3 -- Type System.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ across many formats ID could represent, from small auto-increment numbers, to
216216
large 128-bit random numbers, to base64 encoded values, or string values of a
217217
format like [GUID](http://en.wikipedia.org/wiki/Globally_unique_identifier).
218218

219-
GraphQL servers should coerce as appropriate given the ID formats they expect,
220-
when coercion is not possible they must raise a field error.
219+
GraphQL servers should coerce as appropriate given the ID formats they expect.
220+
When coercion is not possible they must raise a field error.
221221

222222
**Input Coercion**
223223

@@ -613,7 +613,7 @@ their own right. They serialize as a string: the name of the represented value.
613613

614614
**Result Coercion**
615615

616-
GraphQL servers must return one of the defined set of possible values, if a
616+
GraphQL servers must return one of the defined set of possible values. If a
617617
reasonable coercion is not possible they must raise a field error.
618618

619619
**Input Coercion**

spec/Section 5 -- Validation.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -881,8 +881,6 @@ spread within the context of a parent type. A fragment spread
881881
is only valid if its type condition could ever apply within
882882
the parent type.
883883

884-
and the following valid fragments:
885-
886884
##### Object Spreads In Object Scope
887885

888886
In the scope of a object type, the only valid object type
@@ -1053,7 +1051,7 @@ an amgibuity would exist which includes an ignored portion of syntax.
10531051

10541052
For example the following query will not pass validation.
10551053

1056-
```graphql
1054+
```!graphql
10571055
{
10581056
field(arg: { field: true, field: false })
10591057
}
@@ -1217,7 +1215,7 @@ For example:
12171215
```graphql
12181216
query variableIsDefined($atOtherHomes: Boolean) {
12191217
dog {
1220-
isHousetrained(atOtherHomes: $booleanArg)
1218+
isHousetrained(atOtherHomes: $atOtherHomes)
12211219
}
12221220
}
12231221
```

0 commit comments

Comments
 (0)