Patch Changes
-
#6771
bce9150f3
Thanks @glasser! - Support Gateway. Remove executor constructor option. -
#6764
c4115e96a
Thanks @glasser! - Get cache-control types from @apollo/cache-control-types; no moredeclare module
for info.cacheControl -
#6759
6ef6a090c
Thanks @glasser! - Refactor error formatting.Remove
error.extensions.exception
; you can add it back yourself withformatError
.error.extensions.exception.stacktrace
is now available onerror.extensions.stacktrace
.Provide
unwrapResolverError
function in@apollo/server/errors
; useful for yourformatError
hook.No more TS
declare module
describing theexception
extension (partially incorrectly).Rename the (new in v4) constructor option
includeStackTracesInErrorResponses
toincludeStacktraceInErrorResponses
. -
Updated dependencies [
bce9150f3
,c4115e96a
,6ef6a090c
,536e038a7
]:- @apollo/server@4.0.0-alpha.3