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
I am using a StateMachine based on what I found in the documentation, and depending on how I try to instantiate it, it will fail when I call send() with either state.send is not a function (if my config includes the state machine as state: refresher.create...) or tree.enableMutations is not a function if I have included the machine in a namespace or a field of state.
I noted that the statemachine guide included useOvermind. Hasn't that been removed? I did check to make sure I was on the Overmind 28 docs.
The text was updated successfully, but these errors were encountered:
I've encountered the same issue (and know I have previously encountered it as well, but do not recall the resolution). I have refactored a pre-existing state machine, and this refactoring introduced this bug when running against a mock Overmind instance in a unit test - but not in the live app. I am having a lot of trouble tracking down precisely which change is responsible.
https://codesandbox.io/s/overmind-counter-forked-d7o1h?file=/src/index.js
I am using a StateMachine based on what I found in the documentation, and depending on how I try to instantiate it, it will fail when I call send() with either
state.send is not a function
(if my config includes the state machine as state: refresher.create...) ortree.enableMutations is not a function
if I have included the machine in a namespace or a field ofstate
.I noted that the statemachine guide included useOvermind. Hasn't that been removed? I did check to make sure I was on the Overmind 28 docs.
The text was updated successfully, but these errors were encountered: