graphql-js
graphql-js copied to clipboard
feat: allow defining symbol error extensions
Using symbol keys is a useful approach when composing error handlers as symbol keys are omitted when the error is finally stringified.
It allows middlewares to read extensions without having to assign them to undefined afterwards or using the delete keyword.
Hi @n1ru4l, I'm @github-actions bot happy to help you with this PR 👋
Supported commands
Please post this commands in separate comments and only one per comment:
@github-actions run-benchmark- Run benchmark comparing base and merge commits for this PR@github-actions publish-pr-on-npm- Build package from this PR and publish it on NPM
Argh; we can't have it because typescript 4.3 doesn't support symbols so it fails to pass CI. I think I must not have checked that CI had passed. Rolling back.