Skip to content

Commit 7d60ab9

Browse files
Upcoming Release Changes (#296)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @theguild/federation-composition@0.22.2 ### Patch Changes - [#295](#295) [`fffe987`](fffe987) Thanks [@n1ru4l](https://github.com/n1ru4l)! - Fix schema contract composition applying `@inaccessible` on the federation types `ContextArgument` and `FieldValue` on the supergraph SDL. This mitigates the following error in apollo-router upon processing the supergraph: could not create router: Api error(s): The supergraph schema failed to produce a valid API schema: The following errors occurred: - Core feature type `join__ContextArgument` cannot use @inaccessible. - Core feature type `join__FieldValue` cannot use @inaccessible. Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent fffe987 commit 7d60ab9

3 files changed

Lines changed: 15 additions & 14 deletions

File tree

.changeset/lemon-pianos-slide.md

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

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @theguild/federation-composition
22

3+
## 0.22.2
4+
5+
### Patch Changes
6+
7+
- [#295](https://github.com/graphql-hive/federation-composition/pull/295) [`fffe987`](https://github.com/graphql-hive/federation-composition/commit/fffe98742a4e2fb4b3fd481dbb321aac406e370a) Thanks [@n1ru4l](https://github.com/n1ru4l)! - Fix schema contract composition applying `@inaccessible` on the federation types `ContextArgument` and `FieldValue` on the supergraph SDL.
8+
9+
This mitigates the following error in apollo-router upon processing the supergraph:
10+
11+
```
12+
could not create router: Api error(s): The supergraph schema failed to produce a valid API schema: The following errors occurred:
13+
- Core feature type `join__ContextArgument` cannot use @inaccessible.
14+
- Core feature type `join__FieldValue` cannot use @inaccessible.
15+
```
16+
317
## 0.22.1
418

519
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@theguild/federation-composition",
3-
"version": "0.22.1",
3+
"version": "0.22.2",
44
"type": "module",
55
"description": "Open Source Composition library for Apollo Federation",
66
"repository": {

0 commit comments

Comments
 (0)