@graphql-hive/router-runtime 1.6.7 → 1.7.0-alpha-4da90fc708a696e5ff24ddabc74c6e64600620cc

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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @graphql-hive/router-runtime
2
2
 
3
+ ## 1.7.0-alpha-4da90fc708a696e5ff24ddabc74c6e64600620cc
4
+ ### Minor Changes
5
+
6
+
7
+
8
+ - [#2703](https://github.com/graphql-hive/gateway/pull/2703) [`2bb3ee6`](https://github.com/graphql-hive/gateway/commit/2bb3ee650ea50f9186fbc5993478af460addb3d9) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Support Federation `@context` and `@fromContext`
9
+
10
+ Contextual arguments are resolved for every entity from the ancestor setting the context and sent to the subgraph as variables. Entities whose ancestors hold different values are grouped by those values, and all groups are sent in one request using an aliased `_entities` field per group. Contextual arguments that are non-null are fetched with one request per group instead.
11
+
12
+ Requires `@graphql-hive/router-query-planner` v0.0.51 or later, which plans `@fromContext` fields.
13
+
14
+ ### Patch Changes
15
+
16
+
17
+
18
+ - [#2703](https://github.com/graphql-hive/gateway/pull/2703) [`4da90fc`](https://github.com/graphql-hive/gateway/commit/4da90fc708a696e5ff24ddabc74c6e64600620cc) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
19
+
20
+ - Updated dependency [`@graphql-hive/router-query-planner@^0.0.51` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.51) (from `^0.0.49`, in `dependencies`)
21
+
3
22
  ## 1.6.7
4
23
  ### Patch Changes
5
24