Skip to content
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

Merged
merged 1 commit into from
Nov 17, 2020

Conversation

azeghers
Copy link
Contributor

@azeghers azeghers requested review from barmac and MaxTru November 12, 2020 16:44
@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Nov 12, 2020
Copy link
Member

@nikku nikku left a 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.

test/spec/extension.js Show resolved Hide resolved
test/spec/extension.js Show resolved Hide resolved
Copy link
Contributor

@MaxTru MaxTru left a 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?

resources/zeebe.json Show resolved Hide resolved
@azeghers azeghers force-pushed the 248-zeebe-extension branch 2 times, most recently from 8b6edc8 to e706d5d Compare November 13, 2020 12:08
@azeghers azeghers requested review from MaxTru and nikku November 13, 2020 12:09
lib/extension.js Outdated
*/
ZeebeModdleExtension.prototype.canCopyProperty = function(property, parent) {

// check wether property is allowed in parent
Copy link
Collaborator

@barmac barmac Nov 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// check wether property is allowed in parent
// check if property is allowed in parent

@barmac
Copy link
Collaborator

barmac commented Nov 16, 2020

As Nico mentioned, we need readme update in this PR as well.

Looks good. We should add documentation regarding this, too.

This can be based on camunda/camunda-bpmn-moddle readme.

@azeghers azeghers force-pushed the 248-zeebe-extension branch from 32af48f to 668df8a Compare November 16, 2020 15:13
Copy link
Collaborator

@barmac barmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MaxTru
Copy link
Contributor

MaxTru commented Nov 17, 2020

Further schema extensions to be made using #4

Copy link
Contributor

@MaxTru MaxTru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋

@merge-me merge-me bot merged commit bc9c4d7 into master Nov 17, 2020
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Nov 17, 2020
@MaxTru MaxTru deleted the 248-zeebe-extension branch November 17, 2020 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants