@apollo/gateway 2.0.0-preview.4 → 2.0.0-preview.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apollo/gateway",
3
- "version": "2.0.0-preview.4",
3
+ "version": "2.0.0-preview.8",
4
4
  "description": "Apollo Gateway",
5
5
  "author": "Apollo <packages@apollographql.com>",
6
6
  "main": "dist/index.js",
@@ -25,9 +25,9 @@
25
25
  "access": "public"
26
26
  },
27
27
  "dependencies": {
28
- "@apollo/composition": "^2.0.0-preview.4",
28
+ "@apollo/composition": "^2.0.0-preview.8",
29
29
  "@apollo/core-schema": "^0.2.2",
30
- "@apollo/query-planner": "^2.0.0-preview.4",
30
+ "@apollo/query-planner": "^2.0.0-preview.8",
31
31
  "@josephg/resolvable": "^1.0.1",
32
32
  "@opentelemetry/api": "^1.0.1",
33
33
  "@types/node-fetch": "2.6.1",
@@ -47,5 +47,5 @@
47
47
  "peerDependencies": {
48
48
  "graphql": "^16.0.0"
49
49
  },
50
- "gitHead": "1ab3c3b872dade5ca564bd3ba3ac723a99ad4960"
50
+ "gitHead": "516a30d879b4bde5945adb55b80d0f64118c322f"
51
51
  }
@@ -147,7 +147,7 @@ describe('lifecycle hooks', () => {
147
147
  // the supergraph (even just formatting differences), this ID will change
148
148
  // and this test will have to updated.
149
149
  expect(secondCall[0]!.compositionId).toEqual(
150
- '3ca7f295b11b070d1e1b56a698cbfabb70cb2b5912a4ff0ecae2fb91e8709838',
150
+ 'cf96012e98a17d3739f90afed59ef6a5d969d42a5780f9a069a790f2a959d711',
151
151
  );
152
152
  // second call should have previous info in the second arg
153
153
  expect(secondCall[1]!.compositionId).toEqual(expectedFirstId);
@@ -229,6 +229,7 @@ describe('reporting', () => {
229
229
  "seconds": "1562203363",
230
230
  },
231
231
  "header": "<HEADER>",
232
+ "operationCount": 1,
232
233
  "tracesPerQuery": Object {
233
234
  "# -
234
235
  {me{name{first last}}topProducts{name}}": Object {
@@ -301,6 +302,7 @@ describe('reporting', () => {
301
302
  "nanos": 123000000,
302
303
  "seconds": "1562203363",
303
304
  },
305
+ "fieldExecutionWeight": 1,
304
306
  "root": Object {
305
307
  "child": Array [
306
308
  Object {
@@ -366,6 +368,7 @@ describe('reporting', () => {
366
368
  "nanos": 123000000,
367
369
  "seconds": "1562203363",
368
370
  },
371
+ "fieldExecutionWeight": 1,
369
372
  "root": Object {
370
373
  "child": Array [
371
374
  Object {
@@ -467,6 +470,7 @@ describe('reporting', () => {
467
470
  "nanos": 123000000,
468
471
  "seconds": "1562203363",
469
472
  },
473
+ "fieldExecutionWeight": 1,
470
474
  "root": Object {
471
475
  "child": Array [
472
476
  Object {
@@ -556,6 +560,7 @@ describe('reporting', () => {
556
560
  "nanos": 123000000,
557
561
  "seconds": "1562203363",
558
562
  },
563
+ "fieldExecutionWeight": 1,
559
564
  "root": Object {
560
565
  "child": Array [
561
566
  Object {