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

feat: add CalledElement#propagateAllParentVariables #51

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

romansmirnov
Copy link
Member

closes #50

@bpmn-io-tasks bpmn-io-tasks bot added the in progress Currently worked on label Aug 22, 2023
@romansmirnov romansmirnov marked this pull request as ready for review August 22, 2023 14:04
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Aug 22, 2023
@nikku nikku merged commit 86ebc33 into master Aug 22, 2023
3 checks passed
@nikku nikku deleted the 50-call-activity-variable-propagation branch August 22, 2023 14:27
@nikku
Copy link
Member

nikku commented Aug 22, 2023

Thanks for your contribution.

@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Aug 22, 2023
{
"name": "propagateAllParentVariables",
"isAttr": true,
"type": "Boolean"
Copy link
Member

@nikku nikku Aug 22, 2023

Choose a reason for hiding this comment

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

Suggested change
"type": "Boolean"
"type": "Boolean",
"default": true

Defaults won't be serialized, and if you decide to go this route, please add respective read tests, too.

@nikku
Copy link
Member

nikku commented Aug 22, 2023

As a follow-up you could decide to explicitly encode the default (true). This ensures only propagateAllChildVariables=false is serialized.

@romansmirnov
Copy link
Member Author

@nikku, thanks for the follow-up. I applied the requested adjustments in a separate PR: #52

@nikku
Copy link
Member

nikku commented Aug 24, 2023

Released as v1.0.0, thanks!

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.

Add CalledElement#propagateAllParentVariables property
2 participants