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

feature(core) Stricter validation for atomic values #160

Closed

Conversation

jeromesimeon
Copy link
Member

Signed-off-by: Jerome Simeon [email protected]

Issue #157

A stricter validation semantics for atomic types and values in CTO models.

Changes

  • Atomic values in the JSON have to be strictly of the type declared in the model. E.g., true validates against Boolean but "true" does not. E.g., 3.14 validates against Double but does not validate against Integer or Long. E.g., "1" validates against String but 1 does not.
  • Updates the tests accordingly

Flags

  • This is a breaking change
  • The PR is against a new release-0.83 branch

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.

1 participant