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 #16

Merged
merged 1 commit into from
Jun 27, 2018

Conversation

antoniogarrote
Copy link
Contributor

@antoniogarrote antoniogarrote commented Jun 27, 2018

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 Java change: TopQuadrant/shacl#36

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