-
Notifications
You must be signed in to change notification settings - Fork 2k
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
AS3: Remove exceptions to TS strict mode #5170
Comments
glasser
added a commit
that referenced
this issue
May 5, 2021
The simplest way to implement this was to inline graphqlKoa (only exported in Apollo Server 1) into ApolloServer, and change the main middleware to be explicitly `async` instead of "sometimes `return;` and sometimes return a Promise". There's a slight change to error handling in that the newly introduced `catch` clause also catches anything thrown by the couple of lines after `runHttpQuery` that processes its output, but that's probably a good change. Part of #5170.
This was referenced May 5, 2021
glasser
added a commit
that referenced
this issue
May 5, 2021
The simplest way to implement this was to inline graphqlKoa (only exported in Apollo Server 1) into ApolloServer, and change the main middleware to be explicitly `async` instead of "sometimes `return;` and sometimes return a Promise". There's a slight change to error handling in that the newly introduced `catch` clause also catches anything thrown by the couple of lines after `runHttpQuery` that processes its output, but that's probably a good change. Part of #5170.
glasser
added a commit
that referenced
this issue
May 5, 2021
Fixed on release-3.0. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: