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

Change CLI task_type option to string value from int #445

Merged
merged 1 commit into from
Jun 11, 2020
Merged

Change CLI task_type option to string value from int #445

merged 1 commit into from
Jun 11, 2020

Conversation

feedmeapples
Copy link
Contributor

What changed?
Changed the type of task_type option from int to string

Why?
Makes CLI experience friendlier by allowing users to type task type name (replication, transfer, timer) instead of obscure integers (0,1,3)

How did you test it?
Ran tests and commands

Potential risks
Incompatible change, old task CLI commands will stop working and require to change to string values

@feedmeapples feedmeapples changed the title Change CLI task commands to accept string task-type Make CLI task commands accept task-type actual string name Jun 11, 2020
@feedmeapples feedmeapples changed the title Make CLI task commands accept task-type actual string name Change CLI task commands to accept task-type as actual string name Jun 11, 2020
@feedmeapples feedmeapples changed the title Change CLI task commands to accept task-type as actual string name Accept task-type as actual string name in CLI task commands Jun 11, 2020
@feedmeapples feedmeapples changed the title Accept task-type as actual string name in CLI task commands Chane cli Task Type option to string value from int Jun 11, 2020
@alexshtin alexshtin changed the title Chane cli Task Type option to string value from int Change CLI task_type option to string value from int Jun 11, 2020
@feedmeapples feedmeapples merged commit ff979ef into temporalio:master Jun 11, 2020
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