You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I set the ActivityOptions including a non-nil RetryOptions configuration at the beginning of my workflow, these ActivityOptions are used by all activities in my workflow by default. I would like to override the RetryPolicy to nil for just one activity in that workflow without overriding the other ActivityOptions configurations.
Proposed Solution
If the existing WithRetryPolicy() function syntaxes were changed to accept a pointer receiver RetryPolicy as a parameter, than that function could be called with a nil parameter value to solve the above problem.
Is your feature request related to a problem? Please describe.
I set the ActivityOptions including a non-nil RetryOptions configuration at the beginning of my workflow, these ActivityOptions are used by all activities in my workflow by default. I would like to override the RetryPolicy to nil for just one activity in that workflow without overriding the other ActivityOptions configurations.
Proposed Solution
If the existing WithRetryPolicy() function syntaxes were changed to accept a pointer receiver RetryPolicy as a parameter, than that function could be called with a nil parameter value to solve the above problem.
Current syntax:
Suggested syntax:
The text was updated successfully, but these errors were encountered: