-
Notifications
You must be signed in to change notification settings - Fork 2.8k
add limit in select permission and override query limit (close #178) #237
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
Conversation
Review app available at: https://hge-ci-pull-237.herokuapp.com |
Review app available at: https://hge-ci-pull-237.herokuapp.com |
Review app available at: https://hge-ci-pull-237.herokuapp.com |
Review app available at: https://hge-ci-pull-237.herokuapp.com |
Review app available at: https://hge-ci-pull-237.herokuapp.com |
onlyPositiveInt :: MonadError QErr m => Maybe Int -> m () | ||
onlyPositiveInt Nothing = return () | ||
onlyPositiveInt (Just i) = when (i < 0) $ throw400 NotSupported | ||
"negative values are not supported" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"unexpected negative value"
This function should take Int
not Maybe Int
. Use mapM/forM
to apply it on a container of type t a
.
Also we seem to be losing the path information. Can you check where and why? |
Review app available at: https://hge-ci-pull-237.herokuapp.com |
Review app https://hge-ci-pull-237.herokuapp.com is deleted |
GitOrigin-RevId: d1e74f6f2b56d35f948262e5c4249575bb586cc4
No description provided.