Skip to content

Commit fc569ae

Browse files
committed
updated changeset
1 parent 1b107d0 commit fc569ae

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.changeset/more_operation_validations.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@ node-addon: patch
99
hive-apollo-router-plugin: patch
1010
---
1111

12-
Improve GraphQL operation validation
12+
# Improve GraphQL operation validation
13+
14+
- **Faster validation (2-3x):** rules now share a single `OperationVisitor` pass over the operation document instead of each rule visiting it independently.
15+
- **New `UniqueInputFieldNames` rule:** input object fields are now kept as a list rather than a map, so duplicate fields are no longer silently deduplicated before validation. A query like `{ field(input: { value: 1, value: 2 }) }` is now correctly rejected.
16+
- **Fixed `VariablesInAllowedPosition`:** now accounts for default values on variables, field arguments, and input object fields. Nullable variables used in a non-null argument that defines a default are no longer incorrectly rejected.

0 commit comments

Comments
 (0)