Skip to content

Conversation

@n1ru4l
Copy link
Contributor

@n1ru4l n1ru4l commented Aug 27, 2021

…eScript errors in GraphQL.js 16

I am not 100% sure whether this is actually needed. It is mandatory in GraphQL.js 16.0.0-rc.1, but a comment on the source code indicates it should be removed. I notified GraphQL.js maintainers of that.

https://github.com/n1ru4l/graphql-js/blob/4493ca3d1281e01635570824f70867aa68610323/src/error/GraphQLError.ts#L204-L207

Depending on how graphql/graphql-js#3245 (comment) is answered it might not be necessary to merge this.

Note: This would probably be easier to solve if ApolloError just extends from GraphQLError instead, but I guess there are reasons for not doing this that I am not aware of.

@IvanGoncharov
Copy link
Contributor

@n1ru4l Thanks for pointing it out.
I'm working on fixing it inside graphql-js.
Will keep this PR open to track this issue.

@trevor-scheer
Copy link
Contributor

Closing as this is no longer relevant thanks mostly in part to @IvanGoncharov's work on #6355.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants