Skip to content

feat: added resetInputs to clear strategy entries#101

Merged
petruki merged 1 commit intomasterfrom
staging
Jan 10, 2026
Merged

feat: added resetInputs to clear strategy entries#101
petruki merged 1 commit intomasterfrom
staging

Conversation

@petruki
Copy link
Member

@petruki petruki commented Jan 10, 2026

This pull request adds functionality to reset strategy inputs in the SwitcherBuilder class and introduces a corresponding end-to-end test to verify this behavior.

Core Feature Addition:

  • Added a new resetInputs() method to the SwitcherBuilder class, allowing all strategy inputs to be cleared and resetting the internal _input state.

Testing Improvements:

  • Introduced an E2E test in switcher-client.test.ts to verify that resetInputs() clears the input and affects the switcher's state as expected.

@petruki petruki added this to the v2.4.1 milestone Jan 10, 2026
@petruki petruki self-assigned this Jan 10, 2026
@petruki petruki added the enhancement New feature or request label Jan 10, 2026
@sonarqubecloud
Copy link

@petruki petruki merged commit f899dbc into master Jan 10, 2026
7 checks passed
@petruki petruki deleted the staging branch January 10, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant