Skip to content

Commit 8bf5f5d

Browse files
committed
fix: variable shadowing
1 parent 9505d83 commit 8bf5f5d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

include/graphqlservice/GraphQLService.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,14 +1485,7 @@ struct ModifiedResult
14851485
try
14861486
{
14871487
co_await params.launch;
1488-
auto value = pendingResolver(co_await result, params);
1489-
1490-
document.data.splice(document.data.end(), std::move(value.data));
1491-
1492-
if (!value.errors.empty())
1493-
{
1494-
document.errors.splice(document.errors.end(), std::move(value.errors));
1495-
}
1488+
document = pendingResolver(co_await result, params);
14961489
}
14971490
catch (schema_exception& scx)
14981491
{

0 commit comments

Comments
 (0)