I’ve been thinking about the FSM.Domain and how we pass it to extensions. When I did the internal refactor I felt like FSM package should be a private API.
Maybe the bot should have some REST APIs for the extension to work with FSM with some safeguards in place. Instead of directly sending the FSM.Domain to the extension. I do feel like this make it less complex for developing new extensions so the extension author does not need to learn how to work with the FSM directly.
Thoughts?
I’ve been thinking about the
FSM.Domainand how we pass it toextensions. When I did theinternalrefactor I felt likeFSMpackage should be a private API.Maybe the bot should have some REST APIs for the extension to work with
FSMwith some safeguards in place. Instead of directly sending theFSM.Domainto theextension. I do feel like this make it less complex for developing newextensionsso the extension author does not need to learn how to work with theFSMdirectly.Thoughts?