apollographql / reason-apollo

Reason binding for Apollo Client and React Apollo
MIT License
549 stars 108 forks source link

Define the update query type. #152

Open nimish-gupta opened 5 years ago

nimish-gupta commented 5 years ago

Issue Labels

In this issue, please define the type of the updateQueryQuestions in ReasonApolloQuery.re i.e instead of Js.Json.t actual graphql type.

nimish-gupta commented 5 years ago

I can work on this issue, as I have added a workaround in Sketch.sh in PR using this BuckleScript/bucklescript#2774 (comment) and this code https://github.com/nimish-gupta/sketch-sh/blob/pagination/client/src/User.re#L26-L45 with the help of @matthiaskern.