-
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
fix: Introduce status code regression mitigation #7465
Commits on Mar 23, 2023
-
Introduce status code regression mitigation
Apollo Server v4 introduced a regression with respect to invalid `variables` and http status codes. AS4 incorrectly started responding with a 200 status code, where AS3 would respond with a 400. Providing the following config to your AS4 constructor options will opt-in to the regression mitigation: ``` new ApolloServer({ // ... status400WithErrorsAndNoData: true, }) ```
Configuration menu - View commit details
-
Copy full SHA for 67aa89f - Browse repository at this point
Copy the full SHA 67aa89fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc193cf - Browse repository at this point
Copy the full SHA dc193cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74e8a7b - Browse repository at this point
Copy the full SHA 74e8a7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d206d50 - Browse repository at this point
Copy the full SHA d206d50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a27114 - Browse repository at this point
Copy the full SHA 4a27114View commit details -
Update docs/source/api/apollo-server.mdx
Co-authored-by: Stephen Barlow <stephen@apollographql.com>
Configuration menu - View commit details
-
Copy full SHA for cc7636c - Browse repository at this point
Copy the full SHA cc7636cView commit details -
Update docs/source/data/errors.mdx
Co-authored-by: Stephen Barlow <stephen@apollographql.com>
Configuration menu - View commit details
-
Copy full SHA for 775502e - Browse repository at this point
Copy the full SHA 775502eView commit details -
Apply suggestions from code review
Co-authored-by: Stephen Barlow <stephen@apollographql.com>
Configuration menu - View commit details
-
Copy full SHA for 28283d7 - Browse repository at this point
Copy the full SHA 28283d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for dba9316 - Browse repository at this point
Copy the full SHA dba9316View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc1ce84 - Browse repository at this point
Copy the full SHA fc1ce84View commit details
Commits on Mar 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c8cff44 - Browse repository at this point
Copy the full SHA c8cff44View commit details -
Apply suggestions from code review
Co-authored-by: David Glasser <glasser@apollographql.com>
Configuration menu - View commit details
-
Copy full SHA for 4fa3401 - Browse repository at this point
Copy the full SHA 4fa3401View commit details