Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@apollo/query-planner

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/query-planner - npm Package Compare versions

Comparing version 2.1.4 to 2.2.0

2

dist/config.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc