Skip to content

Commit

Permalink
ScheduleMapper: remove mapping for TaskQueue::kind
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Nov 30, 2023
1 parent 1f55ef4 commit 35615d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Internal/Mapper/ScheduleMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ private function prepareAction(ScheduleAction $action, array $array): \Temporal\
$values['workflow_type'] = (new WorkflowType())
/** Because it is mapped with wrong key {@see \Temporal\Workflow\WorkflowType::$name} */
->setName($values['workflow_type']['Name']);
$values['task_queue']['kind'] = $action->taskQueue->kind->value;
$values['task_queue'] = new TaskQueue($values['task_queue']);
$action->input?->setDataConverter($this->converter);
$values['input'] = $action->input?->toPayloads() ?? new Payloads();
Expand Down

0 comments on commit 35615d4

Please sign in to comment.