graphql-js
graphql-js copied to clipboard
Adopt Error.cause in favor of originalError
The @depreacted marks might be heavy-handed. I am completely fine with reversing those.
For environments that don't have Error.cause (ES2021) @deprecated might be annoying to deal with, since they don't have the alternative.
Closes #4484