With the diagram-js-based bpmn-js and the table-js-based dmn-js we have solved these issues using dependency injection. Separating the features into individual DI services makes extensibility and testability possible.
Steps
[x] introduce dependency injection similar to diagram-js using didi
should we merge the form-js-viewer and form-js-editor packages into a single package? bpmn-js doesn't contain multiple packages and the multiple packages in dmn-js are entirely different.
The current structure of both the form viewer and editor doesn't allow any extensibility and makes testing features in isolation impossible.
With the
diagram-js
-basedbpmn-js
and thetable-js
-baseddmn-js
we have solved these issues using dependency injection. Separating the features into individual DI services makes extensibility and testability possible.Steps
diagram-js
usingdidi
Additional questions:
form-js-viewer
andform-js-editor
packages into a single package?bpmn-js
doesn't contain multiple packages and the multiple packages in dmn-js are entirely different.Follow-up issues: