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

Add ability to ignore transition to same state #267

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Briareos17
Copy link

In some cases it is convenient not to get an error when you try to perform a transition to the same state, for example, when the state comes from the API and you do not know in advance what it is, so as not to manually register such cases through allowTransition, I added the ability to ignore such transitions

@Briareos17
Copy link
Author

Sorry, can't find where to squash commits

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.

1 participant