-
Notifications
You must be signed in to change notification settings - Fork 496
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
Configure middleware #1434
Configure middleware #1434
Conversation
d06553c
to
e6a2abd
Compare
This adds the bpmn.modeler.configure extension point. The extension point allows users to provide a middleware options => newOptions that can be used to apply arbitrary configuration updates before the editor gets created. This also builds existing entry points onto the new pattern and adds a distinct utility to carry out the configuration. Supersedes #1374
e6a2abd
to
034b323
Compare
describe('should collect warnings', function() { | ||
|
||
it('bpmn.modeler.moddleExtension', function() { | ||
// given |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing line break. 🤣
|
||
|
||
it('bpmn.modeler.configure', function() { | ||
// given |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing line 🥛 🔨 .
Any other concerns? 🎺 🍰 ❔ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍰
Implements a generic configuration middleware as discussed in #1374.