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
{{ message }}
This repository has been archived by the owner on Oct 31, 2020. It is now read-only.
Considering a change of states as described below, state change at point C doesn't work, it still remains at last state.
A. CurrentState = State.Custom; CustomStateKey = "Login";
B. CurrentState = State.None;
C. CurrentState = State.Custom; CustomStateKey = "Login";
I guess its because CustomStateKey is the same between those changes so StateSquid doesn't detect any change. If I set CustomStateKey = string.Empty at the beginning of point C, then state change works as expected
Is this a bug or expected behavior?
The text was updated successfully, but these errors were encountered:
Sorry for the very late reply. This library has kind of gone off the radar for me a bit as not much happened in here :) I would say it's a bug, as changing state to non Custom values should probably clear the CustomStateKey you set.
Considering a change of states as described below, state change at point C doesn't work, it still remains at last state.
A. CurrentState = State.Custom; CustomStateKey = "Login";
B. CurrentState = State.None;
C. CurrentState = State.Custom; CustomStateKey = "Login";
I guess its because CustomStateKey is the same between those changes so StateSquid doesn't detect any change. If I set CustomStateKey = string.Empty at the beginning of point C, then state change works as expected
Is this a bug or expected behavior?
The text was updated successfully, but these errors were encountered: