I want to replace the type of a field in the input to an activity to something else. For example:
public class ActivityInput { private final Enum1 status; ... }
and I want to change it to be
public class ActivityInput { private final Enum2 status; ... }
Would this be a breaking change and require workflow versioning? I think the answer is yes if a workflow calls the activity with the old activity input and before the activity is scheduled, the activity worker is redeployed to take in the new activity input.
However, can I get around this by first taking down all the workflow workers, then redeploying the activity workers once all the activities have completed, and then redeploying the workflow workers?