Skip to content

Commit 19a7026

Browse files
authored
Apply suggestions from code review
1 parent 0872ec8 commit 19a7026

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

rfcs/DisableErrorPropagationDirective.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
**Proposed by:** [Martin Bonnin](https://github.com/martinbonnin)
44

5+
**See also:** [Original proposal/spec edits by Benjie](https://github.com/graphql/graphql-spec/pull/1050)
6+
57
**Implementation PR**: https://github.com/graphql/graphql-js/pull/4348
68

79
This RFC proposes adding a new directive `@disableErrorPropagation` that allows clients to disable error propagation for specific operations in their GraphQL queries.
@@ -178,7 +180,6 @@ While this proposal focuses on a simple boolean directive, future extensions mig
178180
- `PROPAGATE`: Current default behavior (errors propagate up)
179181
- `NULL`: Replace errored positions with null
180182
- `ABORT`: Abort the entire request on any error
181-
- `INLINE`: Replace errored positions with an error representation
182183

183184
These additional behaviors are not part of this proposal but may be considered in future iterations.
184185

@@ -221,12 +222,6 @@ enum ErrorBehavior {
221222
list. (No partial success.)
222223
"""
223224
ABORT
224-
225-
"""
226-
Positions that error are replaced with an inline representation of the error, and
227-
the path to the error is added to the "errorPaths" list.
228-
"""
229-
INLINE
230225
}
231226

232227
directive @errorBehavior(behavior: ErrorBehavior!) on QUERY | MUTATION | SUBSCRIPTION

0 commit comments

Comments
 (0)