We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12b46ab commit 65dd7a4Copy full SHA for 65dd7a4
docs/source/migration/5.0.mdx
@@ -64,7 +64,7 @@ type User {
64
}
65
66
# or if you don't own the schema, use extensions
67
-extend type User @semanticNonNullField(name: String)
+extend type User @semanticNonNullField(name: "email")
68
```
69
70
The client can then decide how to handle errors with `@catch`:
@@ -77,7 +77,7 @@ query GetUser {
77
# generated as `Result<String, Error>`
78
email @catch(to: RESULT)
79
# generated as `String`, throws if there is an error
80
- email @catch(to: NULL)
+ email @catch(to: THROW)
81
82
83
0 commit comments