Skip to content

Commit

Permalink
Remove IsAccessible check on directive
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 committed Dec 17, 2024
1 parent 5cb364f commit a69c244
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/Section 4 -- Composition.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,13 @@ ERROR
- {IsAccessible(argument)} must be true.
- For each {directive} in {directives}:
- If {directive} is a built-in directive:
- {IsAccessible(directive)} must be true.
- For each {argument} in {directive}:
- {IsAccessible(argument)} must be true.

**Explanatory Text**

This rule ensures that certain essential elements of a GraphQL schema,
particularly built-in scalars, directives and introspection types, cannot be
particularly built-in scalars, directive arguments, and introspection types, cannot be
marked as `@inaccessible`. These types are fundamental to GraphQL. Making these
elements inaccessible would break core GraphQL functionality.

Expand Down

0 comments on commit a69c244

Please sign in to comment.