Skip to content

Commit 0cf7809

Browse files
authored
fix the nullability docs (#6045)
1 parent 219d800 commit 0cf7809

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/source/advanced/nullability.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Nullability directives are experimental. You need to import them using the [`@li
106106
extend schema @link(
107107
url: "https://specs.apollo.dev/nullability/v0.4",
108108
# Note: other directives are needed later on and added here for convenience
109-
import: ["@semanticNonNull", "@semanticNonNullField", "@catch", "@catchTo", "@catchByDefault"]
109+
import: ["@semanticNonNull", "@semanticNonNullField", "@catch", "CatchTo", "@catchByDefault"]
110110
)
111111
```
112112

libraries/apollo-tooling/src/main/graphql/platform-api/internal/extra.graphqls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extend schema @link(url: "https://specs.apollo.dev/nullability/v0.4", import: ["@semanticNonNull", "@semanticNonField", "@catchByDefault", "CatchTo"])
1+
extend schema @link(url: "https://specs.apollo.dev/nullability/v0.4", import: ["@semanticNonNull", "@semanticNonNullField", "@catchByDefault", "CatchTo"])
22
extend schema @catchByDefault(to: THROW)
33

44
extend type Service @semanticNonNullField(name: "statsWindow")

libraries/apollo-tooling/src/main/graphql/platform-api/public/extra.graphqls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extend schema @link(url: "https://specs.apollo.dev/nullability/v0.4", import: ["@semanticNonNull", "@semanticNonField", "@catchByDefault", "CatchTo"])
1+
extend schema @link(url: "https://specs.apollo.dev/nullability/v0.4", import: ["@semanticNonNull", "@semanticNonNullField", "@catchByDefault", "CatchTo"])
22
extend schema @catchByDefault(to: THROW)
33

44
extend type GraphMutation @semanticNonNullField(name: "uploadSchema")

0 commit comments

Comments
 (0)