Skip to content

Commit a357f71

Browse files
jasonrudolphleebyron
authored andcommitted
Fix a handful of grammatical errors (#182)
* Fix subject/verb agreement Because the subject ("versions") is plural, the verb should be "adopt", not "adopts". * Fix typo * Add missing word * Add missing word * Fix typo * Fix article * Fix word that should be plural * Fix word that should be plural * Fix word that should be singular * Fix subject/verb agreement * Fix word that should be singular * Fix word that should be singular
1 parent 6097d7b commit a357f71

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

spec/Section 2 -- Language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,5 +936,5 @@ of any input type.
936936
Directives can be used to describe additional information for fields, fragments,
937937
and operations.
938938

939-
As future versions of GraphQL adopts new configurable execution capabilities,
939+
As future versions of GraphQL adopt new configurable execution capabilities,
940940
they may be exposed via directives.

spec/Section 3 -- Type System.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ these names must adhere to the behavior described below.
124124

125125
#### Int
126126

127-
The Int scalar type represents a signed 32-bit numeric non-fractional values.
127+
The Int scalar type represents a signed 32-bit numeric non-fractional value.
128128
Response formats that support a 32-bit integer or a number type should use
129129
that type to represent this scalar.
130130

@@ -212,7 +212,7 @@ other input values must raise a query error indicating an incorrect type.
212212
#### ID
213213

214214
The ID scalar type represents a unique identifier, often used to refetch an
215-
object or as key for a cache. The ID type is serialized in the same way as
215+
object or as the key for a cache. The ID type is serialized in the same way as
216216
a `String`; however, it is not intended to be human-readable. While it is
217217
often numeric, it should always serialize as a `String`.
218218

@@ -256,7 +256,7 @@ type Person {
256256
```
257257

258258
Where `name` is a field that will yield a `String` value, and `age` is a field
259-
that will yield an `Int` value, and `picture` a field that will yield a
259+
that will yield an `Int` value, and `picture` is a field that will yield a
260260
`Url` value.
261261

262262
A query of an object value must select at least one field. This selection of
@@ -537,7 +537,7 @@ of rules must be adhered to by every Object type in a GraphQL schema.
537537
### Interfaces
538538

539539
GraphQL Interfaces represent a list of named fields and their arguments. GraphQL
540-
object can then implement an interface, which guarantees that they will
540+
objects can then implement an interface, which guarantees that they will
541541
contain the specified fields.
542542

543543
Fields on a GraphQL interface have the same rules as fields on a GraphQL object;
@@ -717,7 +717,7 @@ Unions are never valid inputs.
717717

718718
Union types have the potential to be invalid if incorrectly defined.
719719

720-
1. The member types of an Union type must all be Object base types;
720+
1. The member types of a Union type must all be Object base types;
721721
Scalar, Interface and Union types may not be member types of a Union.
722722
Similarly, wrapping types may not be member types of a Union.
723723
2. A Union type must define one or more member types.
@@ -827,7 +827,7 @@ exclamation mark is used to denote a field that uses a Non-Null type like this:
827827

828828
**Result Coercion**
829829

830-
In all of the above result coercion, {null} was considered a valid value.
830+
In all of the above result coercions, {null} was considered a valid value.
831831
To coerce the result of a Non-Null type, the coercion of the wrapped type
832832
should be performed. If that result was not {null}, then the result of coercing
833833
the Non-Null type is that result. If that result was {null}, then a field error

spec/Section 4 -- Introspection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ would return
6363
### Naming conventions
6464

6565
Types and fields required by the GraphQL introspection system that are used in
66-
the same context as user-defined type and fields are prefixed with two
66+
the same context as user-defined types and fields are prefixed with two
6767
underscores. This in order to avoid naming collisions with user-defined GraphQL
6868
types. Conversely, GraphQL type system authors must not define any types,
6969
fields, arguments, or any other type system artifact with two leading
@@ -252,7 +252,7 @@ Fields
252252

253253
#### Union
254254

255-
Unions are an abstract types where no common fields are declared. The possible
255+
Unions are an abstract type where no common fields are declared. The possible
256256
types of a union are explicitly listed out in `possibleTypes`. Types can be
257257
made parts of unions without modification of that type.
258258

@@ -268,7 +268,7 @@ Fields
268268

269269
#### Interface
270270

271-
Interfaces is an abstract type where there are common fields declared. Any type
271+
Interfaces are an abstract type where there are common fields declared. Any type
272272
that implements an interface must define all the fields with names and types
273273
exactly matching. The implementations of this interface are explicitly listed
274274
out in `possibleTypes`.

spec/Section 5 -- Validation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ type QueryRoot {
9999

100100
** Explanatory Text **
101101

102-
Each named operation definitions must be unique within a document when referred
102+
Each named operation definition must be unique within a document when referred
103103
to by its name.
104104

105105
For example the following document is valid:
@@ -319,7 +319,7 @@ SameResponseShape(fieldA, fieldB) :
319319

320320
** Explanatory Text **
321321

322-
If multiple fields selections with the same response names are encountered
322+
If multiple field selections with the same response names are encountered
323323
during execution, the field and arguments to execute and the resulting value
324324
should be unambiguous. Therefore any two field selections which might both be
325325
encountered for the same object are only valid if they are equivalent.

0 commit comments

Comments
 (0)