-
-
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
Using type: Boolean in a param validation throws an error when placed in a helper file. #1144
Comments
Boolean is not a Ruby type. That said we should do something similar to this, feel free to PR. |
Thanks @dblock. Right, it's not a Ruby type, but it is in the Grape docs as a valid param validation type. Maybe just requires a note in the docs about including the line |
I am not sure what the best implementation is, but we should be able to resolve |
This can be closed, It's fixed here: #1153 |
Closed |
This works fine:
However, when placed in an external helper file like so:
it throws the error shown below:
The text was updated successfully, but these errors were encountered: