@@ -50,7 +50,7 @@ service::AwaitableResolver Result<today::TaskState>::convert(service::AwaitableS
5050 return ModifiedResult<today::TaskState>::resolve (std::move (result), std::move (params),
5151 [](today::TaskState value, const ResolverParams&)
5252 {
53- const size_t idx = static_cast <size_t >(value);
53+ const auto idx = static_cast <size_t >(value);
5454
5555 if (idx >= s_namesTaskState.size ())
5656 {
@@ -101,12 +101,14 @@ today::CompleteTaskInput Argument<today::CompleteTaskInput>::convert(const respo
101101 ? std::move (pairIsComplete.first )
102102 : service::ModifiedArgument<bool >::require<service::TypeModifier::Nullable>(" isComplete" , defaultValue));
103103 auto valueClientMutationId = service::ModifiedArgument<std::string>::require<service::TypeModifier::Nullable>(" clientMutationId" , value);
104+ auto valueBoolList = service::ModifiedArgument<bool >::require<service::TypeModifier::Nullable, service::TypeModifier::List>(" boolList" , value);
104105
105106 return today::CompleteTaskInput {
106107 std::move (valueId),
107108 valueTestTaskState,
108109 std::move (valueIsComplete),
109- std::move (valueClientMutationId)
110+ std::move (valueClientMutationId),
111+ std::move (valueBoolList)
110112 };
111113}
112114
@@ -231,6 +233,7 @@ CompleteTaskInput::CompleteTaskInput() noexcept
231233 , testTaskState {}
232234 , isComplete {}
233235 , clientMutationId {}
236+ , boolList {}
234237{
235238 // Explicit definition to prevent ODR violations when LTO is enabled.
236239}
@@ -239,11 +242,13 @@ CompleteTaskInput::CompleteTaskInput(
239242 response::IdType idArg,
240243 std::optional<TaskState> testTaskStateArg,
241244 std::optional<bool > isCompleteArg,
242- std::optional<std::string> clientMutationIdArg) noexcept
245+ std::optional<std::string> clientMutationIdArg,
246+ std::optional<std::vector<bool >> boolListArg) noexcept
243247 : id { std::move (idArg) }
244248 , testTaskState { std::move (testTaskStateArg) }
245249 , isComplete { std::move (isCompleteArg) }
246250 , clientMutationId { std::move (clientMutationIdArg) }
251+ , boolList { std::move (boolListArg) }
247252{
248253}
249254
@@ -252,6 +257,7 @@ CompleteTaskInput::CompleteTaskInput(const CompleteTaskInput& other)
252257 , testTaskState { service::ModifiedArgument<TaskState>::duplicate<service::TypeModifier::Nullable>(other.testTaskState ) }
253258 , isComplete { service::ModifiedArgument<bool >::duplicate<service::TypeModifier::Nullable>(other.isComplete ) }
254259 , clientMutationId { service::ModifiedArgument<std::string>::duplicate<service::TypeModifier::Nullable>(other.clientMutationId ) }
260+ , boolList { service::ModifiedArgument<bool >::duplicate<service::TypeModifier::Nullable, service::TypeModifier::List>(other.boolList ) }
255261{
256262}
257263
@@ -260,6 +266,7 @@ CompleteTaskInput::CompleteTaskInput(CompleteTaskInput&& other) noexcept
260266 , testTaskState { std::move (other.testTaskState ) }
261267 , isComplete { std::move (other.isComplete ) }
262268 , clientMutationId { std::move (other.clientMutationId ) }
269+ , boolList { std::move (other.boolList ) }
263270{
264271}
265272
@@ -283,6 +290,7 @@ CompleteTaskInput& CompleteTaskInput::operator=(CompleteTaskInput&& other) noexc
283290 testTaskState = std::move (other.testTaskState );
284291 isComplete = std::move (other.isComplete );
285292 clientMutationId = std::move (other.clientMutationId );
293+ boolList = std::move (other.boolList );
286294
287295 return *this ;
288296}
0 commit comments