Skip to content
You are currently reading docs for v1.x. Go to the latest docs if you are using newer version.

noDuplicatedFields

Diagnostic Category: lint/nursery/noDuplicatedFields

Since: v1.9.0

Sources:

No duplicated fields in GraphQL operations.

Checks for duplicate fields in selection set, variables in operation definition, or in arguments set of a field.

query test($v: String, $t: String, $v: String) {
id
}
query {
user {
id
}
}
biome.json
{
"linter": {
"rules": {
"nursery": {
"noDuplicatedFields": "error"
}
}
}
}