Commit ca98885
authored
Add GetActivityTaskList and GetWorkflowTaskList utils to replace WithTaskListMapper utils (#1292)
What changed?
Remove WithTasklist utils introduced in #1286
Instead, users should use the new GetTaskList and With*TaskList APIs.
For future as discussed with @Groxx, it's better to have a functional API to replace all "With*".
For example:
ExecuteChildWorkflow(ctx, type, child.Args(all, args), child.WorkflowID("asdf'))
Why?
With**TaskList APIs are confusing and it's better to remove it1 parent e537cbf commit ca98885
File tree
3 files changed
+31
-22
lines changed- internal
- workflow
3 files changed
+31
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1413 | 1413 | | |
1414 | 1414 | | |
1415 | 1415 | | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
1421 | | - | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
1422 | 1421 | | |
1423 | | - | |
1424 | | - | |
1425 | | - | |
| 1422 | + | |
| 1423 | + | |
1426 | 1424 | | |
1427 | 1425 | | |
1428 | 1426 | | |
| |||
1813 | 1811 | | |
1814 | 1812 | | |
1815 | 1813 | | |
1816 | | - | |
1817 | | - | |
1818 | | - | |
1819 | | - | |
1820 | | - | |
1821 | | - | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
1822 | 1822 | | |
1823 | 1823 | | |
1824 | 1824 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
0 commit comments