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

fix: validate type of value #139

Merged
merged 2 commits into from
Mar 4, 2024
Merged

fix: validate type of value #139

merged 2 commits into from
Mar 4, 2024

Conversation

marstamm
Copy link
Member

@marstamm marstamm commented Mar 4, 2024

closes #138

related to bpmn-io/bpmn-js-element-templates#73 (comment)

Note: as opposed to the proposed solution in bpmn-io/bpmn-js-element-templates#73 (comment), I did not add pattern validation. This would be a breaking change and could break already existing, currently working templates.

We can add pattern validation in a follow-up, but I do not want to push it in the current release.

@marstamm marstamm requested a review from a team March 4, 2024 09:05
@marstamm marstamm self-assigned this Mar 4, 2024
@marstamm marstamm requested review from philippfromme and barmac and removed request for a team March 4, 2024 09:05
@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Mar 4, 2024
Copy link
Contributor

@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

@marstamm marstamm merged commit 19d3303 into main Mar 4, 2024
3 checks passed
@marstamm marstamm deleted the 138-stricter-type-validation branch March 4, 2024 17:05
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Mar 4, 2024
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.

Type: Number should allow setting the value as a number
2 participants