Skip to content

Commit 8b3cead

Browse files
authored
Decapitalize Custom, Scalar and String (#37)
* Decapitalize Custom, Scalar and String * Update scalars/template-string.md * Update scalars/template.md * Update scalars/template-string.md * Update README.md * Update README.md * Update README.md * Update README.md
1 parent 175eaf3 commit 8b3cead

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
Thanks for contributing to GraphQL Scalars.
44

55
The goal of the GraphQL Scalars project is to provide a directory of GraphQL
6-
Custom Scalar specifications, contributed by the community. Contributed
6+
custom scalar specifications, contributed by the community. Contributed
77
specifications are hosted on a GraphQL Foundation owned domain
88
[scalars.graphql.org](https://scalars.graphql.org), which can be referenced with
99
the built-in `@specifiedBy`
1010
[GraphQL directive](https://spec.graphql.org/draft/#sec--specifiedBy).
1111

12-
GraphQL Custom Scalar specifications are language agnostic and thus can be used
12+
GraphQL custom scalar specifications are language-agnostic and thus can be used
1313
to document and standardize behavior across different languages.
1414

1515
Please ensure that you read the
@@ -20,10 +20,10 @@ this project.
2020

2121
1. Copy the `template-string.md`
2222
[template](https://github.com/graphql/graphql-scalars/blob/main/scalars/template-string.md)
23-
for Custom Scalars based on the built-in String Scalar, or otherwise use the
23+
for custom scalars based on the built-in String scalar, or otherwise use the
2424
`template.md`
2525
[template](https://github.com/graphql/graphql-scalars/blob/main/scalars/template.md)
26-
for all other Custom Scalars. Templates are located in the
26+
for all other custom scalars. Templates are located in the
2727
[graphql-scalars GitHub repository](https://github.com/graphql/graphql-scalars/tree/main/scalars).
2828

2929
2. Modify your selected template, and save it in the correct place
@@ -42,7 +42,7 @@ this project.
4242
4. Run `npm test` to ensure proper formatting before submitting a pull request.
4343

4444
5. [Open a new pull request](https://github.com/graphql/graphql-scalars/pulls)
45-
for each Custom Scalar specification you would like to add.
45+
for each custom scalar specification you would like to add.
4646

4747
### Review process for new specifications
4848

@@ -68,7 +68,7 @@ Specification semantics must not change, as specifications are publicly
6868
available reference documents. We will permit small edits which do not change
6969
specification semantics, such as typo fixes.
7070

71-
A new version of a Custom Scalar specification must use a new URL but may still
71+
A new version of a custom scalar specification must use a new URL but may still
7272
recommend using the old name.
7373

7474
For example, `scalars/contributed/my_username/date-time-v2.md` may recommend

scalars/template-string.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"Date - \<the date of the first publication in YYYY-MM-DD format\>"
88

99
This template is meant to be copied and modified. This template is meant for
10-
Scalars which are based on the built-in String Scalar
10+
scalars which are based on the built-in String scalar
1111

1212
**License and Copyright**
1313

@@ -16,22 +16,22 @@ Copyright © GraphQL contributors. This specification is licensed under
1616

1717
# Overview
1818

19-
Provide an overview of what this Scalar does and provide any background
19+
Provide an overview of what this scalar does and provide any background
2020
information.
2121

2222
# Recommended name
2323

24-
Provide a recommended Scalar name and list alternatives, if available.
24+
Provide a recommended scalar name and list alternatives, if available.
2525

2626
# Result spec
2727

28-
Define which Strings can be returned.
28+
Define which strings can be returned.
2929

30-
Provide positive and negative examples of String return values.
30+
Provide positive and negative examples of string return values.
3131

3232
# Input spec
3333

34-
Define which String values are accepted as input as GraphQL Literal and as JSON
34+
Define which string values are accepted as input as GraphQL Literal and as JSON
3535
raw input.
3636

3737
Provide positive and negative examples of literal and JSON raw input values.

scalars/template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"Date - \<the date of the first publication in YYYY-MM-DD format\>"
88

99
This template is meant to be copied and modified. This template is meant for
10-
Scalars which are _not_ based on the built-in String Scalar
10+
scalars which are _not_ based on the built-in String scalar
1111

1212
**License and Copyright**
1313

@@ -16,12 +16,12 @@ Copyright © GraphQL contributors. This specification is licensed under
1616

1717
# Overview
1818

19-
Provide an overview of what this Scalar does and provide any background
19+
Provide an overview of what this scalar does and provide any background
2020
information.
2121

2222
# Recommended name
2323

24-
Provide a recommended Scalar name and list alternatives, if available.
24+
Provide a recommended scalar name and list alternatives, if available.
2525

2626
# Result JSON spec
2727

0 commit comments

Comments
 (0)