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 inferred constraints #358

Merged
merged 11 commits into from
Mar 3, 2021
Merged

Add inferred constraints #358

merged 11 commits into from
Mar 3, 2021

Conversation

asdine
Copy link
Collaborator

@asdine asdine commented Mar 3, 2021

This PR reworks how tables are created by generating inferred constraints based on user-defined ones.
For example, if a constraint is created on a.b, an additional constraint is created for a: a DOCUMENT.
This prevents inserting wrong types in intermediate nodes.

Fixes #328

@asdine asdine merged commit bd06675 into main Mar 3, 2021
@asdine asdine deleted the fix-constraints branch March 3, 2021 08:49
@asdine asdine modified the milestone: v0.11.0 Mar 24, 2021
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.

Able to insert a value into a field without honoring its previoulsy defined constraint.
1 participant