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

Throw DuplicateTransitionException on duplicate state transitions in StateConfig #25

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

spawnia
Copy link
Member

@spawnia spawnia commented Nov 19, 2024

  • Added automated tests
  • Documented for all relevant versions
  • Updated the changelog

Breaking changes

Instead of silently overwriting, there will now be an error on duplicate state transitions.
This prevents unexpected results when overlooking duplicate definitions.

@spawnia spawnia requested a review from simbig November 19, 2024 15:55
@spawnia spawnia merged commit 95cd63a into master Nov 19, 2024
28 checks passed
@spawnia spawnia deleted the throw-on-duplicate-transitions branch November 19, 2024 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants