Skip to content
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

How to directly set current_state? #326

Closed
Sora233 opened this issue Aug 28, 2018 · 1 comment
Closed

How to directly set current_state? #326

Sora233 opened this issue Aug 28, 2018 · 1 comment

Comments

@Sora233
Copy link

Sora233 commented Aug 28, 2018

When I use MemoryTransition, I store the status in model's db_column called status.

And After I get a new resource, I want to set it's current_state to status directly.

Is there any way to do it?

@Sora233
Copy link
Author

Sora233 commented Aug 28, 2018

I found a solution #219 , It looks good.

@Sora233 Sora233 closed this as completed Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant