We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bf447e commit 60a948cCopy full SHA for 60a948c
1 file changed
src/Value/ConvertParserValueVisitor.php
@@ -96,7 +96,8 @@ public function visitObjectVal(ObjectVal $objectVal) : InputValue
96
97
$inner = new \stdClass();
98
99
- foreach ($this->type->getArguments() as $argument) {
+ // ->toArray() call must be present, otherwise the internal iterator pointer would reset on nested inputs of the same type
100
+ foreach ($this->type->getArguments()->toArray() as $argument) {
101
$this->path->add($argument->getName() . ' <input field>');
102
103
if (\property_exists($objectVal->getValue(), $argument->getName())) {
0 commit comments