@apollo/gateway 0.47.0 → 0.48.0

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": "0.47.0",
3
+ "version": "0.48.0",
4
4
  "description": "Apollo Gateway",
5
5
  "author": "Apollo <packages@apollographql.com>",
6
6
  "main": "dist/index.js",
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@apollo/core-schema": "^0.2.0",
29
- "@apollo/federation": "^0.34.0",
30
- "@apollo/query-planner": "^0.7.0",
29
+ "@apollo/federation": "^0.35.0",
30
+ "@apollo/query-planner": "^0.8.0",
31
31
  "@josephg/resolvable": "^1.0.1",
32
32
  "@opentelemetry/api": "^1.0.1",
33
33
  "@types/node-fetch": "2.5.12",
@@ -44,7 +44,7 @@
44
44
  "sha.js": "^2.4.11"
45
45
  },
46
46
  "peerDependencies": {
47
- "graphql": "^15.7.2 || ^16.0.0"
47
+ "graphql": "^15.8.0 || ^16.0.0"
48
48
  },
49
- "gitHead": "55189c410aeaaaad63f97c8bad4c3f6232fc9b5b"
49
+ "gitHead": "87449e166586c8277d28391f50dcede4da79603e"
50
50
  }
@@ -57,9 +57,9 @@ describe('cleanErrorOfInaccessibleNames', () => {
57
57
  }});
58
58
 
59
59
  const cleaned = cleanErrorOfInaccessibleNames(schema, result.errors?.[0]!);
60
- expect(cleaned.message).toMatchInlineSnapshot(
61
- `"Abstract type \\"Foo\\" was resolved to a type [inaccessible type] that does not exist inside the schema."`,
62
- );
60
+ // graphql 15 and 16 changed the error message just a bit, but this is sufficient and will pass for both
61
+ expect(cleaned.message).toContain('Abstract type "Foo" was resolve');
62
+ expect(cleaned.message).toContain("to a type [inaccessible type] that does not exist");
63
63
  });
64
64
 
65
65
  it('removes multiple/repeated inaccessible type names from error messages', async () => {