GraphQLError: Fixed originalError.extensions overriding extensions argument to constructor#3343
Merged
IvanGoncharov merged 2 commits intographql:15.x.xfrom Oct 28, 2021
Conversation
|
|
f6329e9 to
ecfb8b5
Compare
ecfb8b5 to
463f075
Compare
Contributor
|
Reference graphql-js/src/error/GraphQLError.js Line 130 in dcf3751 |
yaacovCR
approved these changes
Oct 28, 2021
dotansimha
approved these changes
Oct 28, 2021
saihaj
approved these changes
Oct 28, 2021
Member
|
@yaacovCR @dotansimha @saihaj Thanks for timely review 👍 @klippx Fix itself is good, I just changed the test to be more in line with our test style.
Hope this feedback helps you with your future contributions. |
originalError.extensions overriding extensions argument to constructor
Member
Author
|
Thanks @IvanGoncharov, I agree that your review commit is a more elegant way of testing things. And I appreciate that you did the review comment for me! 🙏 🙇 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When upgrading to latest version of graphql I discovered a regression:
We are enriching an existing graphql error and the implementation has changed in a way that is different between
^15.6.1and15.x.xThis test runs fine on
v15.6.1but needs the fix I provided to work on15.x.x