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

Replacing subWorkflow to childWorkflow to align with other SDKs #1168

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

salaboy
Copy link
Contributor

@salaboy salaboy commented Dec 4, 2024

Description

using ChildWorkflows instead of SubWorkflows to align with other SDKs and docs

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: #1155

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

@salaboy salaboy requested review from a team as code owners December 4, 2024 16:32
Copy link
Contributor

@cicoyle cicoyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename lgtm, I believe we will need to make note of this being a breaking change since it'll break users with ctx.callSubWorkflow since its now: ctx.callChildWorkflow. Otherwise, we should mark it as a deprecated alias and leave it for 2 releases then remove it. cc/ @artursouza for thoughts?

@salaboy
Copy link
Contributor Author

salaboy commented Dec 4, 2024

@cicoyle I thought about that, but instead of doing that I would just add it in the release notes, for when people do upgrade they just replace the method name. Doing a full deprecation cycle for aligning with other SDKs seems an overkill

@artursouza artursouza merged commit 8b138da into dapr:master Dec 4, 2024
8 checks passed
@artursouza
Copy link
Member

workflows is alpha, so we can break it.

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.

[Workflows] Rename callSubWorkflow to callChildWorkflow
3 participants