这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rakeshkky
Copy link
Member

No description provided.

@rakeshkky rakeshkky requested a review from 0x777 July 31, 2018 10:19
@rakeshkky rakeshkky added s/ok-to-merge Status: This pull request can be merged to master c/server Related to server labels Jul 31, 2018
@hasura-bot
Copy link
Contributor

Review app available at: https://hge-ci-pull-237.herokuapp.com

@hasura-bot
Copy link
Contributor

Review app available at: https://hge-ci-pull-237.herokuapp.com

@hasura-bot
Copy link
Contributor

Review app available at: https://hge-ci-pull-237.herokuapp.com

@hasura-bot
Copy link
Contributor

Review app available at: https://hge-ci-pull-237.herokuapp.com

@hasura-bot
Copy link
Contributor

Review app available at: https://hge-ci-pull-237.herokuapp.com

karthikvt26
karthikvt26 previously approved these changes Aug 6, 2018
onlyPositiveInt :: MonadError QErr m => Maybe Int -> m ()
onlyPositiveInt Nothing = return ()
onlyPositiveInt (Just i) = when (i < 0) $ throw400 NotSupported
"negative values are not supported"
Copy link
Member

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.

@0x777
Copy link
Member

0x777 commented Aug 6, 2018

Also we seem to be losing the path information. Can you check where and why?

@hasura-bot
Copy link
Contributor

Review app available at: https://hge-ci-pull-237.herokuapp.com

@shahidhk shahidhk merged commit 9c55490 into hasura:master Aug 6, 2018
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-237.herokuapp.com is deleted

hgiasac pushed a commit to hgiasac/graphql-engine that referenced this pull request Dec 19, 2023
GitOrigin-RevId: d1e74f6f2b56d35f948262e5c4249575bb586cc4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/server Related to server s/ok-to-merge Status: This pull request can be merged to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants