Skip to content

Commit 657bc69

Browse files
lorensrbenjie
andauthored
Minor grammar fixes (#728)
Co-authored-by: Benjie Gillam <[email protected]>
1 parent 41dc593 commit 657bc69

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

spec/Section 2 -- Language.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ only valid if not followed by a character in its lookahead restriction.
3535

3636
For example, an {IntValue} has the restriction {[lookahead != Digit]}, so cannot
3737
be followed by a {Digit}. Because of this, the sequence {`123`} cannot represent
38-
as the tokens ({`12`}, {`3`}) since {`12`} is followed by the {Digit} {`3`} and
38+
the tokens ({`12`}, {`3`}) since {`12`} is followed by the {Digit} {`3`} and
3939
so must only represent a single token. Use {WhiteSpace} or other {Ignored}
4040
between characters to represent multiple tokens.
4141

@@ -102,7 +102,7 @@ text, any amount may appear before or after any other token and have no
102102
significance to the semantic meaning of a GraphQL Document. Line
103103
terminators are not found within any other token.
104104

105-
Note: Any error reporting which provide the line number in the source of the
105+
Note: Any error reporting which provides the line number in the source of the
106106
offending syntax should use the preceding amount of {LineTerminator} to produce
107107
the line number.
108108

@@ -986,7 +986,7 @@ field vs not altering a field, respectively. Neither form may be used for an
986986
input expecting a Non-Null type.
987987

988988
Note: The same two methods of representing the lack of a value are possible via
989-
variables by either providing the a variable value as {null} and not providing
989+
variables by either providing the variable value as {null} or not providing
990990
a variable value at all.
991991

992992

spec/Section 3 -- Type System.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@ include `_` in their name). For example, a custom directive used by Facebook's
17731773
GraphQL service should be named `@fb_auth` instead of `@auth`. This is
17741774
especially recommended for proposed additions to this specification which can
17751775
change during the [RFC process](https://github.com/graphql/graphql-spec/blob/master/CONTRIBUTING.md).
1776-
For example an work in progress version of `@live` should be named `@rfc_live`.
1776+
For example a work in progress version of `@live` should be named `@rfc_live`.
17771777

17781778
Directives must only be used in the locations they are declared to belong in.
17791779
In this example, a directive is defined which can be used to annotate a field:

spec/Section 5 -- Validation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ point in time.
2121

2222
**Type system evolution**
2323

24-
As GraphQL type system schema evolve over time by adding new types and new
24+
As GraphQL type system schema evolves over time by adding new types and new
2525
fields, it is possible that a request which was previously valid could later
2626
become invalid. Any change that can cause a previously valid request to become
2727
invalid is considered a *breaking change*. GraphQL services and schema
@@ -694,7 +694,7 @@ extend type Query {
694694
}
695695
```
696696

697-
Order does not matter in arguments. Therefore both the following example are valid.
697+
Order does not matter in arguments. Therefore both the following examples are valid.
698698

699699
```graphql example
700700
fragment multipleArgs on Arguments {
@@ -1245,7 +1245,7 @@ fragment dogOrHumanFragment on DogOrHuman {
12451245
}
12461246
```
12471247

1248-
is consider valid because {Dog} implements interface {Pet} and is a
1248+
is considered valid because {Dog} implements interface {Pet} and is a
12491249
member of {DogOrHuman}.
12501250

12511251
However
@@ -1920,7 +1920,7 @@ query intCannotGoIntoBoolean($intArg: Int) {
19201920
}
19211921
```
19221922

1923-
${intArg} typed as {Int} cannot be used as a argument to {booleanArg}, typed as {Boolean}.
1923+
${intArg} typed as {Int} cannot be used as an argument to {booleanArg}, typed as {Boolean}.
19241924

19251925
List cardinality must also be the same. For example, lists cannot be passed into singular
19261926
values.
@@ -1992,7 +1992,7 @@ In the example below, an optional variable `$booleanArg` is allowed to be used
19921992
in the non-null argument (`nonNullBooleanArg`) because the variable provides
19931993
a default value in the query. This behavior is explicitly supported for
19941994
compatibility with earlier editions of this specification. GraphQL authoring
1995-
tools may wish to report this is a warning with the suggestion to replace
1995+
tools may wish to report this as a warning with the suggestion to replace
19961996
`Boolean` with `Boolean!` to avoid ambiguity.
19971997

19981998
```graphql example
@@ -2003,5 +2003,5 @@ query booleanArgQueryWithDefault($booleanArg: Boolean = true) {
20032003
}
20042004
```
20052005

2006-
Note: The value {null} could still be provided to a such a variable at runtime.
2006+
Note: The value {null} could still be provided to such a variable at runtime.
20072007
A non-null argument must produce a field error if provided a {null} value.

spec/Section 6 -- Execution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ ResolveAbstractType(abstractType, objectValue):
683683

684684
**Merging Selection Sets**
685685

686-
When more than one fields of the same name are executed in parallel, their
686+
When more than one field of the same name is executed in parallel, their
687687
selection sets are merged together when completing the value in order to
688688
continue execution of the sub-selection sets.
689689

0 commit comments

Comments
 (0)