hellostealth / stealth

An open source Ruby framework for text and voice chatbots. 🤖

Home Page:https://hellostealth.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow state transitions to a slug

mgomes opened this issue · comments

Current we support step_to session: some_session and all its variants, however it is required that some_session be an instance of Stealth::Session. We should add an additional option called slug that allows us to transition to a new state with only a string based slug. So for example it would allow step_to slug: 'my_flow->say_hi'.