Commit b67dec4
authored
Upcoming Release Changes (#300)
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.3
### Patch Changes
-
[#299](#299)
[`c417891`](c417891)
Thanks [@n1ru4l](https://github.com/n1ru4l)! - Fix
`REQUIRED_INACCESSIBLE` composition rule reporting a composition error
if `@inaccessible` is applied on a non-nullable field with a default
value.
In the following example schema the `Query.ping(message:)` argument no
longer raises `REQUIRED_INACCESSIBLE`, as a default value for the
argument is provided. The same behaviour applies for input type fields.
```graphql
extend schema
@link(
url: "https://specs.apollo.dev/federation/v2.9"
import: ["@inaccessible"]
)
type Query {
ping(message: String! = "pong" @inaccessible): String!
}
```
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>1 parent c417891 commit b67dec4
3 files changed
Lines changed: 21 additions & 20 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
3 | 23 | | |
4 | 24 | | |
5 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments