-
Notifications
You must be signed in to change notification settings - Fork 0
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
Blank/empty params #1
Comments
I think so, yes. I think it should be possible to specify that a param is required (or not). Then if a required param is not set then no results should be returned for the query (regardless of the other parameters). If a parameter is not required (ie. the default) then if that param is not set then it should not be included in the query at all. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Should the gem ignore empty params when no default is supplied? We're doing this manually in Amnesty atm because the assumed default creates a malformed query (passing an empty string to an integer field).
The text was updated successfully, but these errors were encountered: