noDuplicateArgumentNames | Biome

code-block.graphql:2:8 lint/nursery/noDuplicateArgumentNames ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ℹ Duplicate argument name.

1 │ query {
> 2 │ field(arg1: “value”, arg1: “value”)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 │ }
4 │

ℹ A GraphQL field or directive is only valid if all supplied arguments are uniquely named. Make sure to name every argument differently.

ℹ This rule belongs to the nursery group, which means it is not yet stable and may change in the future. Visit https://biomejs.dev/linter/#nursery for more information.

Read more here: Source link