At a glance
- Identifier: #1050
- Stage: RFC 0 / Strawman
- Champion: @benjie
- Latest activity: Top comment edited on 2025-03-10
- Spec PR: https://github.com/graphql/graphql-spec/pull/1050
- Related:
Spec PR description
This PR builds on #1065.
This introduces a directive on operations that disables the null/error propagation behavior by treating all Non-Null types as if they were Semantic-Non-Null types (see #1065).
The specific name of this directive (currently @disableNullPropagation) is open to workshopping:
@noBubblesPlz:wink: or@tepid:rofl:@disableNullPropagation/@disableErrorPropagation/@noNullPropagation/@noPropagation/@nullOnError/ etc@localErrors@dontHandleErrorsForMeIKnowWhatImDoing- {your suggestion here}
Implemented in https://github.com/graphql/graphql-js/pull/4192 as part of semantic non-null support.
Timeline
March 2025
- Top comment edited on 2025-03-10 by benjie
- 4 commits pushed on 2025-03-10
- @benjie committed "Rename directive to preferred name"
- @benjie committed "Add execution logic referencing the directive"
- @benjie committed "Rename Null-Only-On-Error to Semantic-Non-Null"
- @benjie committed "Missed a bit"
November 2023
- Advanced to RFC 0 on 2023-11-27 by benjie
October 2023
- Spec PR created on 2023-10-05 by benjie
- Top comment edited on 2023-10-05 by benjie
- @benjie committed "Directive proposal for opting out of null bubbling" on 2023-10-05