@semanticNonNullExperimental
@semanticNonNull allows marking fields that are never null unless there is a matching error in the errors array. This allows some tools to generate those types as non-null and make the client code simpler
More info: https://specs.apollo.dev/nullability/v0.4/#@semanticNonNull
Projects
| Project Name | Supported Since | Note |
|---|---|---|
| Apollo Client | N/A | |
| Apollo Kotlin | 4.0.0 | |
| Apollo Router | - | |
| Apollo Server | ? | Know the status of this feature? Let us know! |
| Apollo iOS | - | |
| Domain Graph Service (DGS) Framework | - | |
| GraphQL Code Generator | 4.6.0 | |
| GraphQL Java | ? | Know the status of this feature? Let us know! |
| GraphQL Kotlin | ? | Know the status of this feature? Let us know! |
| GraphQL Yoga | - | |
| GraphQL.js | N/A |
|
| GraphiQL | ? | Know the status of this feature? Let us know! |
| Grats | 0.0.12 | |
| Hive Gateway | - | |
| Hot Chocolate | 14.0.0 | |
| Relay | 18.0.0 | |
| Spring for GraphQL | ? | Know the status of this feature? Let us know! |
| gql.tada | - | gql.tada supports its own client-controlled nullability directives ( |
| urql | N/A | urql does not perform schema-based type generation or nullability analysis. |