Skip to content

Commit

Permalink
chore: add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l committed Jan 8, 2024
1 parent 3501481 commit 235efa2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .changeset/sharp-trees-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
'@theguild/federation-composition': patch
---

Ignore inaccessible field arguments within the `DEFAULT_VALUE_USES_INACCESSIBLE` rule.

Fixes an issue where an inaccessible field argument uses a default value that is inaccessible would
cause a false error.

```graphql
type User @key(fields: "id") {
id: ID
friends(type: FriendType = FAMILY @inaccessible): [User!]!
}

enum FriendType {
FAMILY @inaccessible
FRIEND
}
```

0 comments on commit 235efa2

Please sign in to comment.