Goflow embedding
I observed that version 2 uses Gin, while v3 is moving to mux, which is fine. But...
In some cases, it would be beneficial to expose middleware that can be used in other frameworks to embed Goflow with Gin or whatever the project choice is. Otherwise, it isn't easy to manage a large deployment of Goflow in complex enterprise environments.
This is a good point. It would be preferable for the user to have a choice of framework, maybe by exporting the handlers. I will have a think about it. If you have further suggestions, they are more than welcome.
I was just coming across this wanting a dag style workflow but within the same running app much like goflow (very much the core of temporal engine), problem for me is I want to trigger the workflows internally to my app, I wouldn't need the ui just the dag engine itself and looking at the submit route it calls the executor which isn't publicly exposed, would love to see the ability to use the engine without the http server to trigger it
@shanehughes1990 Good news! This exact thing is coming in the next version. See: https://github.com/fieldryand/goflow/blob/v.3.0.1/goflow.go#L124
That's wonderful I would love to try it out, is it at all a stable branch yet? Enough for a poc?
Yes, stable enough for a poc. That part of the API will not change.
You can try go get github.com/fieldryand/goflow/[email protected]