-
Notifications
You must be signed in to change notification settings - Fork 765
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 Use dynamic Stateless #554
Comments
Hi, Can you give us any more details on what you need to achieve? If you're looking for a way to modify the state machine's transitions at runtime based on external changes, you could look at guard conditions with |
I want to design the process first with Json and then let Stateless execute it |
Hi, do you have any update on this topic? It would be great to be able to (de)serialize a state machine from JSON/XML. I can imagine dynamically calling the fluent functions to build a state machine based on some template, but feels like a hack to me 🤷 |
Just to be clear, are we talking about storing some object state to database, and then reading in the object into the same state? Are we talking about reading in a file that defines the state machine, the guards and actions? |
I agree with @HenningNT that this isn't likely to be something Stateless would support as a built-in feature and may be better suited to a separate project. All of the state machines I've come across in my work have custom logic (e.g. All that said, there's a really interesting project idea there and I'd love to see what people would come up with. |
Hi,
What solution do you have for me to use stateless dynamically?
The text was updated successfully, but these errors were encountered: