Skip to content

Commit 36913ee

Browse files
chore(release): update monorepo packages versions (#6113)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 67a9c49 commit 36913ee

File tree

8 files changed

+93
-81
lines changed

8 files changed

+93
-81
lines changed

.changeset/green-sheep-bake.md

Lines changed: 0 additions & 71 deletions
This file was deleted.

.changeset/weak-bears-move.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

benchmark/federation/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# federation-benchmark
22

3+
## 0.0.133
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`67a9c49`](https://github.com/ardatan/graphql-tools/commit/67a9c4909b7676b69c4b425ab1a6cd5533c799ef)]:
8+
- @graphql-tools/stitch@9.2.4
9+
310
## 0.0.132
411

512
### Patch Changes

benchmark/federation/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "federation-benchmark",
3-
"version": "0.0.132",
3+
"version": "0.0.133",
44
"private": true,
55
"scripts": {
66
"loadtest:federation": "k6 -e ENDPOINT=federation run k6.js",
@@ -12,7 +12,7 @@
1212
"@apollo/gateway": "2.7.4",
1313
"@apollo/subgraph": "2.7.4",
1414
"@graphql-tools/federation": "1.1.29",
15-
"@graphql-tools/stitch": "9.2.3",
15+
"@graphql-tools/stitch": "9.2.4",
1616
"cross-env": "7.0.3",
1717
"express": "4.19.2",
1818
"graphql": "16.8.1",

packages/merge/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @graphql-tools/merge
22

3+
## 9.0.4
4+
5+
### Patch Changes
6+
7+
- [#6111](https://github.com/ardatan/graphql-tools/pull/6111) [`a06dbd2`](https://github.com/ardatan/graphql-tools/commit/a06dbd263ec7bfc6d50aa8faf2e35396a67b4f0b) Thanks [@lesleydreyer](https://github.com/lesleydreyer)! - Fix directive merging when directive name is inherited from object prototype (i.e. toString)
8+
39
## 9.0.3
410

511
### Patch Changes

packages/merge/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphql-tools/merge",
3-
"version": "9.0.3",
3+
"version": "9.0.4",
44
"type": "module",
55
"description": "A set of utils for faster development of GraphQL tools",
66
"repository": {

packages/stitch/CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,80 @@
11
# @graphql-tools/stitch
22

3+
## 9.2.4
4+
5+
### Patch Changes
6+
7+
- [#6117](https://github.com/ardatan/graphql-tools/pull/6117) [`67a9c49`](https://github.com/ardatan/graphql-tools/commit/67a9c4909b7676b69c4b425ab1a6cd5533c799ef) Thanks [@ardatan](https://github.com/ardatan)! - Add field as an unavailable field only if it is not able to resolve by any other subschema;
8+
9+
When the following query is sent to the gateway with the following subschemas, the gateway should resolve `Category.details` from A Subschema using `Product` resolver instead of trying to resolve by using non-existing `Category` resolver from A Subschema.
10+
11+
Previously, the query planner decides to resolve `Category.details` after resolving `Category` from C Subschema. But it will be too late to resolve `details` because `Category` is not resolvable in A Subschema.
12+
13+
So the requests for `Category.details` and the rest of `Category` should be different.
14+
15+
So for the following query, we expect a full result;
16+
17+
```graphql
18+
query {
19+
productFromA(id: "1") {
20+
id
21+
name
22+
category {
23+
id
24+
name
25+
details
26+
}
27+
}
28+
}
29+
```
30+
31+
```graphql
32+
# A Subschema
33+
type Query {
34+
productFromA(id: ID): Product
35+
# No category resolver is present
36+
}
37+
38+
type Product {
39+
id: ID
40+
category: Category
41+
}
42+
43+
type Category {
44+
details: CategoryDetails
45+
}
46+
```
47+
48+
```graphql
49+
# B Subschema
50+
type Query {
51+
productFromB(id: ID): Product
52+
}
53+
type Product {
54+
id: ID
55+
name: String
56+
category: Category
57+
}
58+
type Category {
59+
id: ID
60+
}
61+
```
62+
63+
```graphql
64+
# C Subschema
65+
type Query {
66+
categoryFromC(id: ID): Category
67+
}
68+
69+
type Category {
70+
id: ID
71+
name: String
72+
}
73+
```
74+
75+
- Updated dependencies [[`a06dbd2`](https://github.com/ardatan/graphql-tools/commit/a06dbd263ec7bfc6d50aa8faf2e35396a67b4f0b)]:
76+
- @graphql-tools/merge@9.0.4
77+
378
## 9.2.3
479

580
### Patch Changes

packages/stitch/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphql-tools/stitch",
3-
"version": "9.2.3",
3+
"version": "9.2.4",
44
"type": "module",
55
"description": "A set of utils for faster development of GraphQL tools",
66
"repository": {
@@ -53,7 +53,7 @@
5353
"@graphql-tools/batch-delegate": "^9.0.1",
5454
"@graphql-tools/delegate": "^10.0.7",
5555
"@graphql-tools/executor": "^1.2.1",
56-
"@graphql-tools/merge": "^9.0.3",
56+
"@graphql-tools/merge": "^9.0.4",
5757
"@graphql-tools/schema": "^10.0.3",
5858
"@graphql-tools/utils": "^10.2.0",
5959
"@graphql-tools/wrap": "^10.0.2",

0 commit comments

Comments
 (0)