You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
actor.getSnapshot().value does not include states with type compound.
(Bug) Expected result:
actor.getSnapshot().value should be a union of all non-compound state value strings as well as objects containing compound states.
This should be the same as actor.getSnapshot().matches which accepts parameters that are the correct union of possible state types that originated from setup().createMachine().
(Bug) Actual result:
actor.getSnapshot().value only contains a union of non-compound state strings.
(Bug) Potential fix:
Make the type of actor.getSnapshot().value match the type of the input parameter to actor.getSnapshot().matches().
The text was updated successfully, but these errors were encountered:
Bug or feature request?
Bug
Description:
actor.getSnapshot().value
does not include states with typecompound
.(Bug) Expected result:
actor.getSnapshot().value
should be a union of all non-compound
state value strings as well as objects containingcompound
states.This should be the same as
actor.getSnapshot().matches
which accepts parameters that are the correct union of possible state types that originated fromsetup().createMachine()
.(Bug) Actual result:
actor.getSnapshot().value
only contains a union of non-compound
state strings.(Bug) Potential fix:
Make the type of
actor.getSnapshot().value
match the type of the input parameter toactor.getSnapshot().matches()
.The text was updated successfully, but these errors were encountered: