@apollo/server@4.0.0-alpha.10
Pre-release
Pre-release
·
1122 commits
to main
since this release
Patch Changes
- #6857
15b1cb2e9
Thanks @glasser! - Errors thrown in resolvers and context functions can useextensions.http
to affect the response status code and headers. The default behavior when a context function throws is now to always use status code 500 rather than comparingextensions.code
toINTERNAL_SERVER_ERROR
.