uber-go / cadence-client

Framework for authoring workflows and activities running on top of the Cadence orchestration engine.
https://cadenceworkflow.io
MIT License
339 stars 128 forks source link

[cadence/debug] Expose method to get default worker options #1311

Closed ketsiambaku closed 4 months ago

ketsiambaku commented 4 months ago

What changed? Exporting an existing function

Why? Users may need to get default values for worker options fields (e.g: internal Debug feature at Uber) however they are currently internal and do not have getter methods.

How did you test it? Local tests Unit tests

Potential risks Since this is now exposed to users, it might present risks if this API is changed in the future without backward compatibility

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.