chainit icon indicating copy to clipboard operation
chainit copied to clipboard

chainit 3: why a state machine and can it be externalized

Open vvo opened this issue 11 years ago • 3 comments

Are you planning on doing it @kapouer?

I guess we need to decide on error handling otherwise we would introduce another breaking change

vvo avatar Dec 04 '14 07:12 vvo

I really do not understand the state machine thingy. Why we need it in core.

As you saw with the webdriver example, it seems we should try to keep chainit as small as possible and do not introduce features that are only needed by some users.

Maybe a plugin system would be enough.

chainit.use(require('chainit-state'));

?

vvo avatar Dec 04 '14 07:12 vvo

Yes i'm planning to do it, but i'd like to address the two issues you raised before. I pushed chainit-3 branch and will merge it to master when those issues are dealt with. Are you ok with that ?

kapouer avatar Dec 04 '14 08:12 kapouer

Yes no problem!

vvo avatar Dec 04 '14 09:12 vvo