Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions scalars/template-string.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# \<name\> — GraphQL Custom Scalar

"Author - \<github user name\> "
"Author - \<github user or organization name\> "
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a follow up from #33


"Date - \<the date of the first publication in YYYY-MM-DD format\>"

Expand All @@ -23,18 +23,18 @@ information.

Provide a recommended Scalar name and list alternatives, if available.

# Result spec
# Result coercion

Define which Strings can be returned.

Provide positive and negative examples of String return values.

# Input spec
# Input coercion

Define which String values are accepted as input as GraphQL Literal and as JSON
raw input.
Define which GraphQL string Literals or external string values are accepted as
input.

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

# References

Expand Down
20 changes: 7 additions & 13 deletions scalars/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# \<name\> — GraphQL Custom Scalar

"Author - \<github user name\> "
"Author - \<github user or organization name\> "

"Date - \<the date of the first publication in YYYY-MM-DD format\>"

Expand All @@ -23,23 +23,17 @@ information.

Provide a recommended Scalar name and list alternatives, if available.

# Result JSON spec
# Result coercion

Define which JSON values can be returned.
Define which external values can be returned.

Provide positive and negative examples of JSON values.
Provide positive and negative examples of external values.

# Literal Input spec
# Input coercion

Define which GraphQL Literals are accepted as input.
Define which GraphQL Literals or external values are accepted as input.

Provide positive and negative examples of literals.

# Raw Input JSON spec

Define which JSON values are accepted as input.

Provide positive and negative examples of JSON values.
Provide positive and negative examples.

# References

Expand Down