Skip to content

Commit 1de9dc4

Browse files
committed
Add note
1 parent e9d56cf commit 1de9dc4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ For the directive, the two conversions work like this:
4747
| semantic-to-nullable | `[Int] @semanticNonNull(levels: [0,1])` | `[Int]` |
4848
| semantic-to-strict | `[Int] @semanticNonNull(levels: [0,1])` | `[Int!]!` |
4949

50+
> [!NOTE]
51+
>
52+
> An existing strictly non-nullable type (`Int!`) will remain unchanged whether
53+
> or not `@semanticNonNull` applies to that level.
54+
5055
### `GraphQLSemanticNonNull` wrapper type
5156

5257
How the `GraphQLSemanticNonNull` type is represented syntactically in SDL is yet

0 commit comments

Comments
 (0)