Strict Semantic Nullability is an experimental feature in Grats that distinguishes between "true" null values and values that are null due to an error state. In standard GraphQL, these are conflated. By marking a field as semantically non-null, clients can treat the field as non-nullable if they handle field errors out-of-band (e.g., by discarding queries with errors), reducing the need for tedious null checks in client code.
Grats implements this using the @semanticNonNull directive rather than new schema syntax to maintain compatibility with existing GraphQL tools. A field is marked with @semanticNonNull if strictSemanticNullability is enabled and the underlying TypeScript return type is non-nullable.