Open jarekdanielak opened 2 months ago
@nikku I moved the 2 command handlers shared between C7 and C8 to a common folder.
Is there any reason we shouldn't support C7?
Is there any reason we shouldn't support C7?
Camunda 7 works slightly differently, and we don't aim to touch (and potentially break) existing Camunda 7 behaviors.
Will have another look onto this PR shortly.
I'll give this PR another look and sketch the relevant changes :)
I like the idea to move shared things outside of
element-templates
/cloud-element-templates
.However the handler now still mixes both implementations, which I'd like to avoid. Thinking in terms of modularization I'd like to remove the
element-templates
folder, some day in the future, and all element template related code is gone. Same thing the other way around.
I'll move the PR to draft until the change is implemented or we reconsider.
Closes #114
Proposed Changes
When removing template from element, documentation and execution listeners (and potentially more non-template properties in the future) are kept.
https://github.com/user-attachments/assets/187c7e81-aac5-4c81-b9c1-6a20e605f512
Checklist
To ensure you provided everything we need to look at your PR:
@bpmn-io/sr
toolCloses {LINK_TO_ISSUE}
orRelated to {LINK_TO_ISSUE}