flux-pr-1308
graphql-go-tools (Go) · W1 · GPT-5.1 Codex Mini
Tests: unknown. 0/1 commands passed. Strength: missing.
go test -C v2 ./... -count=1 -timeout=300sPartial score: 0/0
Trajectory
codex · partial order onlyprovider-native trajectory captured; validation and decision steps are appended with coarse ordering only
Quality
Equivalence Reasoning
behavioral
Code Review
The patch likely does not satisfy the intended change: it contains a concrete validator bug and diverges materially by adding `isOneOf` introspection surface rather than cleanly implementing the targeted directive exposure and runtime/operation validation behavior.
In `EnterDocument`, the visitor stores `operation` into `v.definition` instead of `definition`, so subsequent oneOf checks run against the wrong document context and can mis-validate.
The change adds `isOneOf` to `__Type` model/schema and fixture outputs, which is a broader API change than the target directive/validation updates and likely causes incompatibilities with expected outputs.
New tests only assert literal object cases; they do not cover oneOf with variables/nullability/undefined-variable-position behavior that the task explicitly calls out.