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

Add immutable flag to parameters. #212

Merged
merged 1 commit into from
Jul 10, 2019

Conversation

jeremyrickard
Copy link
Member

This PR adds an immutable flag to the parameter definition in 101-bundle-json.md and adds wording to 103-bundle-runtime.md to indicate that if an immutable parameter value is given at any time other than runtime, it should result in an error.

Closes #181

@technosophos
Copy link
Member

Does the JSON Schema need an update?

@jeremyrickard
Copy link
Member Author

@technosophos indeed it does! Sorry I thought I opened this as a Draft PR. working on the schema still :(

@jeremyrickard
Copy link
Member Author

@technosophos Updated the PR to add the schema addition and updated the 101.02 to add an explicit "immutable": true entry.

Copy link
Contributor

@silvin-lubecki silvin-lubecki left a comment

Choose a reason for hiding this comment

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

LGTM

@jeremyrickard jeremyrickard added this to the CNAB Core 1.0.0 milestone Jul 9, 2019
Copy link
Contributor

@carolynvs carolynvs left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@technosophos technosophos left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Proposal:Add an immutable property to bundle parameter object
5 participants