Skip to content

Commit 9368847

Browse files
committed
Edit: fix formatting in Non-null type section
1 parent c1e8e63 commit 9368847

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/Section 3 -- Type System.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,23 +1486,23 @@ If the value provided to the Non-Null type is provided with a literal value
14861486
other than {null}, or a Non-Null variable value, it is coerced using the input
14871487
coercion for the wrapped type.
14881488

1489-
Example: A non-null argument cannot be omitted.
1489+
A non-null argument cannot be omitted:
14901490

14911491
```graphql counter-example
14921492
{
14931493
fieldWithNonNullArg
14941494
}
14951495
```
14961496

1497-
Example: The value {null} cannot be provided to a non-null argument.
1497+
The value {null} cannot be provided to a non-null argument:
14981498

14991499
```graphql counter-example
15001500
{
15011501
fieldWithNonNullArg(nonNullArg: null)
15021502
}
15031503
```
15041504

1505-
Example: A variable of a nullable type cannot be provided to a non-null argument.
1505+
A variable of a nullable type cannot be provided to a non-null argument:
15061506

15071507
```graphql example
15081508
query withNullableVariable($var: String) {

0 commit comments

Comments
 (0)