Skip to content
This repository was archived by the owner on Sep 20, 2020. It is now read-only.

Conversation

gabrielmaldi
Copy link
Contributor

Add a set method to $previousState to programmatically set the previous state.

@christopherthielen
Copy link
Owner

So you want to programmatically set the previous state?

What if we added .set(memoName, previousState, previousParams) instead?

@gabrielmaldi gabrielmaldi force-pushed the previous-state-memo-state branch from 949a381 to b927317 Compare March 14, 2016 19:34
@gabrielmaldi
Copy link
Contributor Author

Your approach is far better the overloading the meaning of memo and defaultStateName. Updated the PR!

@gabrielmaldi gabrielmaldi force-pushed the previous-state-memo-state branch from b927317 to 8423e0d Compare March 14, 2016 19:40
christopherthielen added a commit that referenced this pull request Mar 14, 2016
feat($previousState): allow to memo a state passed by parameter.
@christopherthielen christopherthielen merged commit 4d03b30 into christopherthielen:master Mar 14, 2016
@christopherthielen
Copy link
Owner

@gabrielmaldi gabrielmaldi deleted the previous-state-memo-state branch March 14, 2016 19:46
@gabrielmaldi
Copy link
Contributor Author

Done in #303

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants