noDuplicateFieldDefinitionNames | Biome
code-block.graphql:1:1 lint/nursery/noDuplicateFieldDefinitionNames ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ Duplicate field name.
> 1 │ input SomeObject {
│ ^^^^^^^^^^^^^^^^^^
> 2 │ foo: String
> 3 │ foo: String
> 4 │ }
│ ^
5 │
ℹ A GraphQL complex type is only valid if all its fields are uniquely named. Make sure to name every field differently.
ℹ This rule belongs to the nursery group, which means it is not yet stable and may change in the future. Visit biomejs.dev/linter/#nursery for more information.
Read more here: Source link
