conductor-oss / conductor-oss/javascript-sdk
Unable to implement multiple branches with `forkTask`
- Vorherrschende Sprache
- TypeScript
- Sterne
- 58
- Forks
- 20
- Ø Merge
- 1 T. 13 Std.
- Gemergte PRs (30 T.)
- 7
Beschreibung
Hi 👋
I think that perhaps the implementation of [forkTask](https://github.com/conductor-oss/javascript-sdk/blob/main/src/sdk/builders/tasks/forkJoin.ts) limits the developer to creating a single branch.
[The fork example in the docs](https://docs.conductor-oss.org/documentation/configuration/workflowdef/operators/fork-task.html) shows that `forkTasks` should be `List[List[Task]]` but I believe the signature here limits this to `[List[Task]]` ( note this is an array with a single item, not a `List[]` ).
Am I reading this correct? I can't seem to get `forkTask()` to create the output I'm after, but not sure if that's user error or an issue with the library.
In the meantime I'm implementing this manually.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.