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 ability to provide cancellation reason to cancelWorkflow API #1213

Merged
merged 4 commits into from
Feb 1, 2023

Conversation

mindaugasbarcauskas
Copy link
Contributor

What changed?

Adding ability to provide options to cancel workflow API.

Why?

In order to allow populating cancel reason.

How did you test it?

Added unit tests.

Potential risks

@mindaugasbarcauskas mindaugasbarcauskas changed the title Changing way of defining possible options. Adding ability to provide cancellation reason to cancelWorkflow API Jan 31, 2023
Copy link
Member

@Groxx Groxx left a comment

Choose a reason for hiding this comment

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

👍
I wonder if the internal package references will make this mock more annoying to use in IDEs....

... but tbh I'm fine with that temporarily. Getting rid of the internal alias is at the top of my list of things to change for v2.

@mindaugasbarcauskas mindaugasbarcauskas merged commit a3fe700 into master Feb 1, 2023
Groxx added a commit to Groxx/cadence-client that referenced this pull request Feb 4, 2023
…ended

Missed this during review of cadence-workflow#1213, sorry!
I'm not entirely sure how to catch things like this in tests, without a separate module...
Groxx added a commit that referenced this pull request Feb 6, 2023
…ended (#1214)

Missed this during review of #1213, sorry!
I'm not entirely sure how to catch things like this in tests, without a separate module...
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.

2 participants