sainthkh / reasonql

Type-safe and simple GraphQL library for ReasonML developers.
MIT License
96 stars 5 forks source link

Return type #13

Closed c19 closed 5 years ago

c19 commented 5 years ago

changed finishedWithErrorPromise API to so that's easier to use.

let finishedWithErrorPromise: Js.Promise.t(apolloResultJs) => Js.Promise.t(result(Q.queryResult, array(apolloError)))