apollo-server-types
Advanced tools
Comparing version 3.7.0 to 3.7.1
@@ -89,3 +89,3 @@ import type { Request, Response } from 'apollo-server-env'; | ||
readonly overallCachePolicy: CachePolicy; | ||
readonly requestIsBatched: boolean; | ||
readonly requestIsBatched?: boolean; | ||
} | ||
@@ -92,0 +92,0 @@ export declare type ValidationRule = (context: ValidationContext) => ASTVisitor; |
{ | ||
"name": "apollo-server-types", | ||
"version": "3.7.0", | ||
"version": "3.7.1", | ||
"description": "Apollo Server shared types", | ||
@@ -22,3 +22,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "538151b9f30dfc91036eef2f8f65fbf7922d861e" | ||
"gitHead": "6247d96ba90de6fa9b45995dcab72758c99aab78" | ||
} |
@@ -179,7 +179,12 @@ import type { Request, Response } from 'apollo-server-env'; | ||
* that if this is true, the headers and status code `response.http` will be | ||
* be merged together; if two operations set the same header one will arbitrarily | ||
* win. (In Apollo Server v4, `response.http` will be shared with the other | ||
* operations in the batch.) | ||
* be merged together; if two operations set the same header one will | ||
* arbitrarily win. (In Apollo Server v4, `response.http` will be shared with | ||
* the other operations in the batch.) This boolean is always set by Apollo | ||
* Server v3.11.0+/v4.1.0+, but because this type is also part of the | ||
* interface between older versions of `@apollo/gateway` and Apollo Server, we | ||
* leave it optional here to avoid typechecking issues if the version of | ||
* `apollo-server-types` transitively included by `@apollo/gateway` does not | ||
* match the version of Apollo Server actually used. | ||
*/ | ||
readonly requestIsBatched: boolean; | ||
readonly requestIsBatched?: boolean; | ||
} | ||
@@ -186,0 +191,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25384
428