Skip to content

Allow workflow and worker referencing with builder#53

Merged
ognjenkatic merged 7 commits into
masterfrom
feat/master/allow-workflow-referencing-with-builder
Sep 11, 2022
Merged

Allow workflow and worker referencing with builder#53
ognjenkatic merged 7 commits into
masterfrom
feat/master/allow-workflow-referencing-with-builder

Conversation

@ognjenkatic

Copy link
Copy Markdown
Collaborator

This PR adds the capability to directly reference classes that inherrit Workflow and TaskRequestHandler in workflow definitions. This should reduce the amount of classes that we have to write in the following ways:

  • We no longer have to write a SubWorkflowTaskModel class for workflows we created ourselves just to be able to reference it in other workflows as a subworkflow.
  • We no longer have to write a SimpleTaskModel class if we access to the worker class that inherits TaskRequestHandler (this is a new addition, a sort of base class that implements ITaskRequestHandler). This case should not really happen as we recommend that workflow definitions are kept separate from workers, but it could help some users.

@ognjenkatic ognjenkatic requested a review from boma96 September 11, 2022 09:18
@ognjenkatic ognjenkatic merged commit 9e38e4f into master Sep 11, 2022
@ognjenkatic ognjenkatic deleted the feat/master/allow-workflow-referencing-with-builder branch September 11, 2022 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant