Conceptual
Login

GraphQL Nullability Design

Every field is nullable by default and made non-null with `!`; because a null in a non-null field destroys the whole parent selection during error propagation, non-null is a promise about failure behavior, not just data shape — mark fields non-null only when you can always deliver them.

This Concept is waiting for its first lesson!

Every field is nullable by default and made non-null with `!`; because a null in a non-null field destroys the whole parent selection during error propagation, non-null is a promise about failure behavior, not just data shape — mark fields non-null only when you can always deliver them.

Are you a teacher? Sign in to start contributing.

Sign In