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

Refactor validation before deploy #60

Merged
merged 12 commits into from
Jun 14, 2022
Merged

Conversation

mindsers
Copy link
Owner

This PR refactors how the validation system works.

It is now possible to break (or not) the build on validation errors. Before, it would have always been breaking the build.

The feature uses two arguments:

  • validation_level: can be 'none', 'warn', 'error'. Defaults to 'none' which deactivate the validation step
  • validation_depth: can be any number of entry to validate. Defaults to 10

@mindsers mindsers added the type: enhancement New feature or request label Apr 20, 2022
@mindsers mindsers self-assigned this Apr 20, 2022
@mindsers
Copy link
Owner Author

mindsers commented May 10, 2022

Part of the work for #36

@mindsers mindsers marked this pull request as ready for review June 14, 2022 16:52
@mindsers mindsers merged commit 902f583 into master Jun 14, 2022
@mindsers mindsers deleted the feature/refactor-validation branch June 14, 2022 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant