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

Don't allow to have nil value when required & have allowed values. #492

Merged
merged 1 commit into from
Oct 24, 2013
Merged

Don't allow to have nil value when required & have allowed values. #492

merged 1 commit into from
Oct 24, 2013

Conversation

Antti
Copy link
Contributor

@Antti Antti commented Oct 24, 2013

This fixes the case when we want to filter nil values in params,
and we provide allowed values using ValuesValidator.

@dblock
Copy link
Member

dblock commented Oct 24, 2013

Could you please update CHANGELOG (git commit --amend)? Thx.

@dblock
Copy link
Member

dblock commented Oct 24, 2013

Uhm, 0.6.1 has been released, add it to the Next Release section pls.

@Antti
Copy link
Contributor Author

Antti commented Oct 24, 2013

OK, sorry, done.

@dblock
Copy link
Member

dblock commented Oct 24, 2013

Last thing, promise, put back the "* Your contribution here.", please, for the next contributor. Thanks so much for contributing, sorry for being a pest.

This fixes the case when we want to filter nil values in params,
and we provide allowed values using ValuesValidator.
@Antti
Copy link
Contributor Author

Antti commented Oct 24, 2013

Did that. You should write a tutorial how to contribute here 😉

@dblock
Copy link
Member

dblock commented Oct 24, 2013

Thanks! You can contribute a tutorial :)

dblock added a commit that referenced this pull request Oct 24, 2013
…dator

Don't allow to have nil value when required & have allowed values.
@dblock dblock merged commit 34e6013 into ruby-grape:master Oct 24, 2013
@Antti Antti deleted the validate_nil_value_in_values_validator branch October 24, 2013 17:11
@dblock dblock mentioned this pull request Mar 27, 2014
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