Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .changeset/hip-states-agree.md

This file was deleted.

20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @theguild/federation-composition

## 0.22.3

### Patch Changes

- [#299](https://github.com/graphql-hive/federation-composition/pull/299) [`c417891`](https://github.com/graphql-hive/federation-composition/commit/c417891d8e539e9ddccee0436d160a6cb645e388) 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!
}
```

## 0.22.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theguild/federation-composition",
"version": "0.22.2",
"version": "0.22.3",
"type": "module",
"description": "Open Source Composition library for Apollo Federation",
"repository": {
Expand Down