-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Use camunda-bpmn-js
Without Installing @bpmn-io/form-js
#333
Comments
@marstamm Are we aware of this? |
This was caused by bpmn-io/form-variable-provider#4. I guess we were to eager to add peer-dependencies. Form-js should be a direct dependency for the variable resolver. I'll create a patch release |
forms are embedded in the BPMN and available even without form-js related to camunda/camunda-bpmn-js#333
forms are embedded in the BPMN and available even without form-js related to camunda/camunda-bpmn-js#333
I'm not a fan of bundling form-js in the context of BPMN and raised this with the HTO team. Maybe we find a better way to inject the code intelligence, if forms are used (and recognized)? This would also ensure there exists only a single instance of form-js in the tree. |
I think we are mixing 2 issues here.
|
forms are embedded in the BPMN and available even without form-js related to camunda/camunda-bpmn-js#333
This is what I reached out to HTO about. |
I think shipping the utility as a separate library acknowledging the fact that it's used outside of the context of form-js would make sense. This is how we've handled such cases in the past. |
Describe the Bug
I am forced to install
@bpmn-io/form-js
when using this library due to@bpmn-io/form-variable-provider
listing it as a peer dependency and its implementation depending on thegetSchemaVariables
functionality.camunda-bpmn-js
🔗@bpmn-io/form-variable-provider
🔗@bpmn-io/form-js
Steps to Reproduce
@bpmn-io/form-js
dependency must be installedExpected Behavior
I can use this library without having to install
@bpmn-io/form-js
. Resolving form variables is optional or the functionality ofgetSchemaVariables
is pulled out ofbpmn-io/form-js
.The text was updated successfully, but these errors were encountered: