Skip to content

Commit 28d2c3b

Browse files
authored
Merge pull request graphql#15 from graphql/typos
Fixing typos
2 parents 49e00b6 + 3c0d245 commit 28d2c3b

File tree

5 files changed

+15
-19
lines changed

5 files changed

+15
-19
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
TODO

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Thanks for contributing to GraphQL Scalars.
55
The goal of the GraphQL Scalars project is to provide a directory of GraphQL
66
Custom Scalar specifications, contributed by the community. Contributed
77
specifications will be hosted on a GraphQL Foundation owned domain
8-
https://scalars.graphql.org, which can be referenced with the built-in
9-
`@specifiedBy` GraphQL directive.
8+
[scalars.graphql.org](https://scalars.graphql.org), which can be referenced with
9+
the built-in `@specifiedBy` GraphQL directive.
1010

1111
GraphQL Custom Scalar specifications are language agnostic and thus can be used
1212
to document and standardize behavior across different languages.
@@ -69,5 +69,5 @@ available reference documents. We will permit small edits which do not change
6969
specification semantics, such as typo fixes.
7070

7171
A new version of a Custom Scalar specification should have a new scalar name,
72-
such as `<scalar-name>2`, `<scalar-name>3`, or a completely different name like
73-
OffsetDateTime is different to DateTime.
72+
either with a number appended such as `<scalar-name>2`, or a different name such
73+
as `OffsetDateTime` to differentiate from `DateTime`.

scalars/contributed/andimarek/date-time.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Custom Scalar spec DateTime
22

3-
"Author: andimarek"
3+
Author: andimarek
44

5-
"Date: 2022-10-18"
5+
Date: 2022-10-18
66

7-
This is a String based Scalars (TODO: add link to explanation).
7+
This is a String-based Scalar.
88

99
# Overview
1010

scalars/guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,16 +140,16 @@ programmatically, `rawInputValueToLiteral` might not be needed.
140140
These three functions need to be compatible to each other, specifically:
141141

142142
**Rule 1:** every valid input for `parseRawInputValue` must be a valid input for
143-
`rawInputVariableToLiteral` and vice versa. This rule ensures that every raw
144-
input value can be represented as literal.
143+
`rawInputValueToLiteral` and vice versa. This rule ensures that every raw input
144+
value can be represented as literal.
145145

146146
**Rule 2:** for every valid input for `parseLiteral` there must at least one
147147
corresponding input for `parseRawInputValue` resulting in the same coerced input
148148
value. This rule ensures that all literals can be represented as raw input
149149
value.
150150

151-
**Rule 3:** every output for `rawInputVariableToLiteral` must be a valid input
152-
for `parseLiteral`.
151+
**Rule 3:** every output for `rawInputValueToLiteral` must be a valid input for
152+
`parseLiteral`.
153153

154154
These rules ensure that for every valid literal we have at least one valid raw
155155
value and vice versa.

scalars/new-scalar.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@ Thanks for contributing to GraphQL Scalars.
55
The goal of the GraphQL Scalars project is to provide a directory of GraphQL
66
Custom Scalar specifications, contributed by the community. Contributed
77
specifications will be hosted on a GraphQL Foundation owned domain
8-
https://scalars.graphql.org, which can be referenced with the built-in
9-
`@specifiedBy` GraphQL directive.
8+
[scalars.graphql.org](https://scalars.graphql.org), which can be referenced with
9+
the built-in `@specifiedBy` GraphQL directive.
1010

1111
GraphQL Custom Scalar specifications are language agnostic and thus can be used
1212
to document and standardize behavior across different languages.
1313

14-
The scalars will be hosted at https://scalars.graphql.org. We are currently
15-
setting this up.
16-
1714
Please ensure that you read the
1815
[Code of Conduct](https://graphql.org/codeofconduct/) before contributing to
1916
this project.
@@ -70,5 +67,5 @@ available reference documents. We will permit small edits which do not change
7067
specification semantics, such as typo fixes.
7168

7269
A new version of a Custom Scalar specification should have a new scalar name,
73-
such as `<scalar-name>2`, `<scalar-name>3`, or a completely different name like
74-
OffsetDateTime is different to DateTime.
70+
either with a number appended such as `<scalar-name>2`, or a different name such
71+
as `OffsetDateTime` to differentiate from `DateTime`.

0 commit comments

Comments
 (0)