Skip to content

Commit 54dae53

Browse files
committed
GraphQLError: revert originalError to be nullable
Partial revert of #3333 Were reverted due to conflict with Apollo Server, see apollographql/apollo-server#5843
1 parent c7ab7eb commit 54dae53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error/GraphQLError.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class GraphQLError extends Error {
5656
/**
5757
* The original error thrown from a field resolver during execution.
5858
*/
59-
+originalError: Error | void;
59+
+originalError: Error | void | null;
6060

6161
/**
6262
* Extension fields to add to the formatted error.

0 commit comments

Comments
 (0)