Skip to content

Commit afda209

Browse files
Upcoming Release Changes (#200)
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/[email protected] ### Patch Changes - [#198](#198) [`1b98c17`](1b98c17) Thanks [@user!](https://github.com/User!), [@user!](https://github.com/User!)! - Fix public schema SDL in case a object type implements an inaccessible interface. Composing the following subgraph: ```graphql schema @link( url: "https://specs.apollo.dev/federation/v2.3" import: ["@inaccessible"] ) { query: Query } type Query { } interface Node @inaccessible { id: ID! } type User implements Node { id: ID! } ``` now result in the following valid public SDL: ```diff type Query { } - type User implements Node { + type User { id: ID! } ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 1b98c17 commit afda209

File tree

3 files changed

+44
-44
lines changed

3 files changed

+44
-44
lines changed

.changeset/huge-toes-mix.md

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

CHANGELOG.md

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

3+
## 0.20.2
4+
5+
### Patch Changes
6+
7+
- [#198](https://github.com/graphql-hive/federation-composition/pull/198) [`1b98c17`](https://github.com/graphql-hive/federation-composition/commit/1b98c17d0e572fbcccbc150eeca8c4fe66f4d719) Thanks [@User!](https://github.com/User!), [@User!](https://github.com/User!)! - Fix public schema SDL in case a object type implements an inaccessible interface.
8+
9+
Composing the following subgraph:
10+
11+
```graphql
12+
schema
13+
@link(
14+
url: "https://specs.apollo.dev/federation/v2.3"
15+
import: ["@inaccessible"]
16+
) {
17+
query: Query
18+
}
19+
20+
type Query {
21+
22+
}
23+
24+
interface Node @inaccessible {
25+
id: ID!
26+
}
27+
28+
type User implements Node {
29+
id: ID!
30+
}
31+
```
32+
33+
now result in the following valid public SDL:
34+
35+
```diff
36+
type Query {
37+
38+
}
39+
40+
- type User implements Node {
41+
+ type User {
42+
id: ID!
43+
}
44+
```
45+
346
## 0.20.1
447

548
### 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.20.1",
3+
"version": "0.20.2",
44
"type": "module",
55
"description": "Open Source Composition library for Apollo Federation",
66
"repository": {

0 commit comments

Comments
 (0)