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

Configuration object and partial validation #36

Merged

Conversation

antoniogarrote
Copy link
Contributor

This PR introduces a configuration option for the validation engine making it possible to stop the evaluation of the constraints, once a maximum number of errors have been reached.

The use case for this behaviour is situations where we just need to know if the data graph is valid or not, regardless of the total number of errors. For example, where providing a validity service where we want to maximise the performance of the service and where failing fast is preferred to getting the complete set of validation errors.

To make it possible to configure this behaviour, a configuration object has been introduced where this option (and other future options) can be set-up.

Matching JS change: TopQuadrant/shacl-js#16

@HolgerKnublauch
Copy link
Collaborator

This looks good in principle. Unfortunately we have made conflicting changes since 1.1 and I have committed those to master yesterday. The conflict is in ValidationUtil. Would you be able to merge this on your side and do a new PR?

@antoniogarrote
Copy link
Contributor Author

Sure, rebased over current master.

@HolgerKnublauch HolgerKnublauch merged commit 2dfb34f into TopQuadrant:master Jul 2, 2018
ashleycaselli added a commit that referenced this pull request May 21, 2024
…lugins-maven-jar-plugin-3.x

build(deps): update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.1
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.

2 participants