Support Client Controlled Nullability (CCN) #327
Labels
project-apollo-client (legacy)
LEGACY TAG DO NOT USE
project-apollo-federation (legacy)
LEGACY TAG DO NOT USE
project-apollo-server (legacy)
LEGACY TAG DO NOT USE
Client-Controlled nullability gives more power to the consumer of a GraphQL API. It allows us to specify error boundaries in GraphQL by defining if a field shall be nullable or required in our GraphQL request. To give this power to the user, the RFC introduces new query syntax to let the user override type nullability on fields and specify where error boundaries are in the GraphQL request.
Three new operators can be used:
!
which marks a field Non-Nullable?
which marks a field Nullable[]
which allows the above two operators to be applied to the elements of a list, or the list as a whole.References
graphql/graphql-spec#867
The text was updated successfully, but these errors were encountered: