We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Constraints are applied even if the column is nullable. Is it intentional?
app@b1823785e3ed:/app$ cat foo.csv id,foo 1, 2,x 3,xx app@b1823785e3ed:/app$ cat foo.json { "fields": [ { "name": "id", "type": "integer", "constraints": { "required": true } }, { "name": "foo", "type": "string", "constraints": { "required": false, "minLength": 2 } } ] } app@b1823785e3ed:/app$ bundle exec bin/csvlint foo.csv --schema=foo.json NOTE: Csvlint::Schema.load_from_json is deprecated; use load_from_uri instead. It will be removed on or after 2018-01-01. Csvlint::Schema.load_from_json called from /app/lib/csvlint/cli.rb:59. .!!. foo.csv is INVALID 1. foo: min_length. Row: 2,2. 2. foo: min_length. Row: 3,2. x
foo.csv is VALID
foo.csv is INVALID 1. foo: min_length. Row: 2,2. 2. foo: min_length. Row: 3,2. x
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Constraints are applied even if the column is nullable.
Is it intentional?
Expected Behaviour
Current Behaviour (for problems)
Your Environment
The text was updated successfully, but these errors were encountered: