@apollo/query-planner
Advanced tools
Comparing version 2.1.4 to 2.2.0
@@ -6,3 +6,3 @@ "use strict"; | ||
return { | ||
exposeDocumentNodeInFetchNode: true, | ||
exposeDocumentNodeInFetchNode: false, | ||
reuseQueryFragments: true, | ||
@@ -9,0 +9,0 @@ incrementalDelivery: { |
{ | ||
"name": "@apollo/query-planner", | ||
"version": "2.1.4", | ||
"version": "2.2.0", | ||
"description": "Apollo Query Planner", | ||
@@ -21,3 +21,3 @@ "author": "Apollo <packages@apollographql.com>", | ||
"engines": { | ||
"node": ">=12.13.0" | ||
"node": ">=14.15.0" | ||
}, | ||
@@ -29,7 +29,7 @@ "license": "SEE LICENSE IN ./LICENSE", | ||
"dependencies": { | ||
"@apollo/federation-internals": "^2.1.4", | ||
"@apollo/query-graphs": "^2.1.4", | ||
"@apollo/federation-internals": "^2.2.0", | ||
"@apollo/query-graphs": "^2.2.0", | ||
"chalk": "^4.1.0", | ||
"deep-equal": "^2.0.5", | ||
"pretty-format": "^28.0.0" | ||
"pretty-format": "^29.0.0" | ||
}, | ||
@@ -39,3 +39,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "413ef7911df24c26a1150157e42539f6d4b710df" | ||
"gitHead": "4c48e89fa215a24aacb02d68f83d2cbc7b0f5193" | ||
} |
import { Concrete } from "@apollo/federation-internals"; | ||
export type QueryPlannerConfig = { | ||
/** | ||
* If enabled, the `FetchNode.operationDocumentNode` field in query plan will be populated with the AST | ||
* of the underlying operation (_on top_ of the "serialized" string `FetchNode.operation` which is always | ||
* present). This can used by specific gateway user code that needs read-only access to such AST in | ||
* order to save having to parse `FetchNode.operation`. Without this option, `FetchNode.operationDocumentNode` | ||
* will always be `undefined`. | ||
* | ||
* Enabling this option will make query plans use more memory and you should consider increasing the | ||
* query plan cache size (though `GatewayConfig.experimental_approximateQueryPlanStoreMiB`) if you enable it. | ||
* | ||
* Defaults to false (at least since 2.2; it temporarily defaulted to true before 2.2). | ||
*/ | ||
exposeDocumentNodeInFetchNode?: boolean; | ||
@@ -42,3 +54,3 @@ | ||
return { | ||
exposeDocumentNodeInFetchNode: true, | ||
exposeDocumentNodeInFetchNode: false, | ||
reuseQueryFragments: true, | ||
@@ -45,0 +57,0 @@ incrementalDelivery: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
780991
15209
+ Added@jest/schemas@29.6.3(transitive)
+ Added@sinclair/typebox@0.27.8(transitive)
+ Addedpretty-format@29.7.0(transitive)
- Removed@jest/schemas@28.1.3(transitive)
- Removed@sinclair/typebox@0.24.51(transitive)
- Removedansi-regex@5.0.1(transitive)
- Removedpretty-format@28.1.3(transitive)
Updated@apollo/query-graphs@^2.2.0
Updatedpretty-format@^29.0.0