Skip to content

Consider the allow_blank option in the values validator#1950

Merged
dblock merged 1 commit into
ruby-grape:masterfrom
dnesteryuk:bugfix/1604
Jan 2, 2020
Merged

Consider the allow_blank option in the values validator#1950
dblock merged 1 commit into
ruby-grape:masterfrom
dnesteryuk:bugfix/1604

Conversation

@dnesteryuk

Copy link
Copy Markdown
Member

When allow_blank is true, the values validator shouldn't raise Grape::Exceptions::Validation in case of a blank value.

Fixes #1604

When `allow_blank` is true, the values validator shouldn't
raise `Grape::Exceptions::Validation` in case of a blank value.
@dblock dblock merged commit c552813 into ruby-grape:master Jan 2, 2020
@dnesteryuk dnesteryuk deleted the bugfix/1604 branch January 2, 2020 18:09
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.

allow_blank for values

2 participants