跳转到内容

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
}
}