-
Notifications
You must be signed in to change notification settings - Fork 6
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
Implement zeebe moddle extension and canCopyProperty #3
Conversation
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.
Looks good. We should add documentation regarding this, too.
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.
Also:
- please format commit message in active tense (see history of commit messages for examples). Might be something like "fix(replace): add moddle extension for canCopyProperty"
- Clarfication question for me: how do we approach all the zeebe moddle configurations for other properties (aside from Input Output)? Will we create separate tickets or do all of this in a one-time exercise?
8b6edc8
to
e706d5d
Compare
lib/extension.js
Outdated
*/ | ||
ZeebeModdleExtension.prototype.canCopyProperty = function(property, parent) { | ||
|
||
// check wether property is allowed in parent |
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.
// check wether property is allowed in parent | |
// check if property is allowed in parent |
e706d5d
to
32af48f
Compare
As Nico mentioned, we need readme update in this PR as well.
This can be based on camunda/camunda-bpmn-moddle readme. |
32af48f
to
668df8a
Compare
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.
LGTM
Further schema extensions to be made using #4 |
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.
👋
Related to zeebe-io/zeebe-modeler#248