Search before asking
Description
It's better not initialize WorkflowGraph/WorkflowExecutionGraph when handle command, and initialize these when start event fired.
The advantage is that we can reduce transaction time when processing commands, and once initialize graph failed, we can trigger a workflow instance failure event.
Are you willing to submit a PR?
Code of Conduct