-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[core] Add basic support for state invariant
#4944
base: main
Are you sure you want to change the base?
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need such tests:
- show the behavior of those invariants for transitions within states that already have
invariant
, the current tests only show what's the behavior when entering such states - show that
invariant
doesn't create a problems when we exit a state that has some invariant requirement (like, the invariant requirescontext.user
but an exit action within the exited state resets theuser
tonull
) - show the interactions with
entry
,always
andparallel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added most of these
No description provided.