-
-
Notifications
You must be signed in to change notification settings - Fork 819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass and Check for Error Extensions #925
Pass and Check for Error Extensions #925
Conversation
/label bug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, I'm a bit surprised there haven't been more complaints about this. Thanks very much for tracking this issue down and fixing it @edorsey!
Do you have an estimate, when this change will be published to NPM? Right now it's in the v4 section of the CHANGELOG, and I don't know when that will be finished. |
@NicolaiSchmid The plan is to release 4.0.0 hopefully on Monday. |
Well, that is definitely sooner, than I expected 👍 |
Hi @hwillson,
Regards |
@cpauls We're waiting on #953 to be merged. It's almost there, but it needs extra eyes on it due to certain significant changes. As soon as the final review is done, we'll be all set to get 4.0.0 launched. I'm 99% optimistic that it will be ready today (the 1% uncertainty is to accommodate reviewer schedules). Thanks! |
|
I was working with Apollo Server 2.0 and I couldn't get my
AuthenticationError
code of'UNAUTHENTICATED'
to get passed back to the user. https://www.apollographql.com/docs/apollo-server/v2/features/errors.html#CodesI pin-pointed to here in
graphql-tools
and it looks like it was originally setup to useresult
, but notextensions
?Anyway, I copied the test for
result
and added the logic to make it work forextensions
.TODO: