Skip to content

Commit

Permalink
fix issue when mixing different fields in complex field (#21)
Browse files Browse the repository at this point in the history
judas-christ authored Feb 16, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 11b9923 commit bbc3723
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MetaResolver.php
Original file line number Diff line number Diff line change
@@ -33,6 +33,7 @@ public static function getComplex($value, Field $field, Container $container, $a
foreach ($fields as $f) {
$field = Field::create($f);
$name = $field->getBaseName();
if(!array_key_exists($name, $val)) continue;
$inner_value = $val[$name];
$resolver_name = $field->getResolverName();
$complex_item[$name] = call_user_func(

0 comments on commit bbc3723

Please sign in to comment.