We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a38f304 commit c092c11Copy full SHA for c092c11
samples/client/MutateClient.h
@@ -71,7 +71,7 @@ struct Variables
71
std::optional<response::StringType> clientMutationId {};
72
};
73
74
- CompleteTaskInput input;
+ CompleteTaskInput input {};
75
76
77
response::Value serializeVariables(Variables&& variables);
src/ClientGenerator.cpp
@@ -285,7 +285,7 @@ static_assert(graphql::internal::MinorVersion == )cpp"
285
for (const auto& variable : variables)
286
{
287
headerFile << R"cpp( )cpp" << _schemaLoader.getCppType(variable.type->name())
288
- << R"cpp( )cpp" << variable.cppName << R"cpp(;
+ << R"cpp( )cpp" << variable.cppName << R"cpp( {};
289
)cpp";
290
}
291
0 commit comments