-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
values validator can no longer accept a range #881
Labels
Comments
This is likely a legit regression. Would appreciate a spec (and maybe a fix ;)). |
ajvondrak
pushed a commit
to ajvondrak/grape
that referenced
this issue
Jan 16, 2015
ajvondrak
pushed a commit
to ajvondrak/grape
that referenced
this issue
Jan 16, 2015
ajvondrak
pushed a commit
to ajvondrak/grape
that referenced
this issue
Jan 17, 2015
…ange#first if values is a Range
dblock
added a commit
that referenced
this issue
Jan 17, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We're currently migration from grape
0.9.0
to0.10.1
. This validator that use to work now stopped working:relevant stacktrace:
In this case, it's easy to convert the range to an array, but it might not be possible if you have a large range. It also feels like the range is more intention revealing than an array here.
The text was updated successfully, but these errors were encountered: