Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent duplicate 'Default' switch cases #155

Merged
merged 2 commits into from Feb 26, 2024
Merged

Prevent duplicate 'Default' switch cases #155

merged 2 commits into from Feb 26, 2024

Conversation

sfmskywalker
Copy link
Member

This PR prevents the system from yielding duplicate 'Default' switch cases.

Fixes #154

Added check in both FlowSwitchPortProvider and SwitchPortProvider classes to prevent adding a 'Default' case if one already exists. This prevents possible duplicate case errors. Also, applied JetBrains.Annotations and properly listed cases to enhance the readability and performance of the code.
The update allows for automatic running of workflows on branches labeled 'issue/*'. This ensures tests and build processes are executed whenever there is a new push to any 'issue/*' branch, improving our update and bug fix pipeline.
@sfmskywalker sfmskywalker requested review from a team February 26, 2024 14:42
@sfmskywalker sfmskywalker added the bug Something isn't working label Feb 26, 2024
@sfmskywalker sfmskywalker merged commit 259b6b5 into main Feb 26, 2024
6 checks passed
@sfmskywalker sfmskywalker deleted the issue/154 branch February 26, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JS Error with "Default" Case in FlowSwitch Activity on Page Reload and Instance Viewer
2 participants