forked from cadence-workflow/cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: bad dynamicconfig filter/string mapping (cadence-workflow#6151)
This logic desperately needs to be refactored, it's incredibly error-prone :\ We should probably just use enumer's codegen tbh. Or something similar. Previously `String()` missed both `workflowType` and `ratelimitKey`. The `String()` impl is now rewritten so it won't be missed with future additions, and there's a test to check it too.
- Loading branch information
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters