Skip to content

Commit

Permalink
import the nullability directive
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Sep 18, 2024
1 parent 075cb11 commit 14d9d35
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
extend schema @link(
url: "https://specs.apollo.dev/nullability/v0.4",
import: ["@semanticNonNull", "@semanticNonNullField", "@catch", "CatchTo", "@catchByDefault"]
)
extend schema @catchByDefault(to: NULL)

type Query {
person: Person
}
Expand Down

0 comments on commit 14d9d35

Please sign in to comment.