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

validate: add --trim and --quiet options #1452

Merged
merged 2 commits into from
Dec 5, 2023
Merged

validate: add --trim and --quiet options #1452

merged 2 commits into from
Dec 5, 2023

Conversation

jqnatividad
Copy link
Owner

we used to trim records by default, now its optional.

So CSVs with extra leading/trailing whitespaces were validating even if the schema had enum constraints that didn't allow for leading/trailing whitespaces.

Quiet option was also added to suppress stdout/log::info messages for both valid and invalid results.

@jqnatividad jqnatividad merged commit ac11c3d into master Dec 5, 2023
2 checks passed
tests/test_schema.rs Dismissed Show dismissed Hide dismissed
tests/test_schema.rs Dismissed Show dismissed Hide dismissed
tests/test_schema.rs Dismissed Show dismissed Hide dismissed
tests/test_schema.rs Dismissed Show dismissed Hide dismissed
tests/test_schema.rs Dismissed Show dismissed Hide dismissed
tests/test_schema.rs Dismissed Show dismissed Hide dismissed
@jqnatividad jqnatividad deleted the validate_trim branch December 12, 2023 05:44
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.

None yet

1 participant