Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding WorkflowExecutionOptions and use it instead of TaskOptions #1200

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

artur-ciocanu
Copy link
Contributor

Description

The following PR accomplishes the following:

  • Renaming SagaOption to SagaOptions this is to ensure it aligns with the rest of the APIs.
  • Renaming NewWorkflowOption to NewWorkflowOptions similar to the above it is to make sure API is consistent
  • Adding WorkflowExecutionOptions this replaces TaskOptions. TaskOptions is a Durable Task specific class and we would like to have something that is native to Dapr Java SDK.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1199

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@artur-ciocanu artur-ciocanu requested review from a team as code owners January 25, 2025 18:12
Signed-off-by: Artur Ciocanu <ciocanu@adobe.com>
@artur-ciocanu
Copy link
Contributor Author

@artursouza @cicoyle @salaboy could you please take a look. These are breaking changes, but I think we can afford to have them so we could cleanup the Dapr Workflow public API and remove any Durable Task specific classes.

Please take a look and let me know your thoughts. Thank you!

@salaboy
Copy link
Contributor

salaboy commented Jan 25, 2025

100% I will look in detail Monday morning

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.

Replace TaskOptions with a Dapr specific class like WorkflowActtivityOptions
2 participants