Skip to content

Commit

Permalink
Rename "Output Field Argument Types Mergeable" rule (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 authored Jan 9, 2025
1 parent 4e5db12 commit 0bd76d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/Section 4 -- Composition.md
Original file line number Diff line number Diff line change
Expand Up @@ -3189,11 +3189,11 @@ input BookFilter {
In this invalid case, `title` is mandatory in Schema A but not defined in
`Schema B`, causing inconsistency in required fields across schemas.

#### Output Field Argument Types Mergeable
#### Field Argument Types Mergeable

**Error Code**

`OUTPUT_FIELD_ARGUMENT_TYPES_NOT_MERGEABLE`
`FIELD_ARGUMENT_TYPES_NOT_MERGEABLE`

**Severity**

Expand Down Expand Up @@ -3247,8 +3247,8 @@ them successfully.
_Incompatible Types_

If argument types differ on the named type itself - for example, one uses
`String` while the other uses `DateTime` - this causes an
`OUTPUT_FIELD_ARGUMENT_TYPES_NOT_MERGEABLE` error. Similarly, if one schema has
`String` while the other uses `DateTime` - this causes a
`FIELD_ARGUMENT_TYPES_NOT_MERGEABLE` error. Similarly, if one schema has
`[String]` but another has `[DateTime]`, they are incompatible.

```graphql example
Expand Down

0 comments on commit 0bd76d7

Please sign in to comment.