Skip to content

Commit

Permalink
Update spec/Section 4 -- Composition.md
Browse files Browse the repository at this point in the history
Co-authored-by: Glen <[email protected]>
  • Loading branch information
michaelstaib and glen-84 authored Nov 14, 2024
1 parent 6d9307b commit c5d1324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/Section 4 -- Composition.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ValidateDefaultValue(defaultValue):
**Explanatory Text**

This rule ensures that inaccessible enum values are not exposed in the composed schema through default values.
Output field arguments, input fields and directive arguments must only use enum values as their default value that is not annotated with the `@inaccessible` directive.
Output field arguments, input fields, and directive arguments must only use enum values as their default value when not annotated with the `@inaccessible` directive.

In this example the `FOO` value in the `Enum1` enum is not marked with
`@inaccessible`, hence it does not violate the rule.
Expand Down

0 comments on commit c5d1324

Please sign in to comment.