Skip to content

Tags: codeheroesdev/reason-apollo

Tags

[email protected]

Toggle [email protected]'s commit message
Add support for apollo upload client:

Support FileList, File, Blob or ReactNativeFile instances within query or mutation variables and sends GraphQL multipart requests.

[email protected]

Toggle [email protected]'s commit message
Fix for the typo in errorResponse

[email protected]

Toggle [email protected]'s commit message
Upgrading Bucklescript to version 4

[email protected]

Toggle [email protected]'s commit message
Feature

- allow users of the library to write code that is common to all queries.

Fixes:
- `resetStore` method on ApolloClient
- The query and mutate methods of generatedApolloClient are currently unusable as they are typed to return strings instead of Js.Promise.t.
This fix is meant to allow people to use these methods to fetch data directly, to mimic the client.query(...) behavior

0.10.2-beta

Toggle 0.10.2-beta's commit message
Adding Example in swapi

Breaking changes:
Finishing compatibility with bs-platform ^3.0.0

[email protected]

Toggle [email protected]'s commit message
Breaking Changes:

  - Upgrading bs-platform to ^3.0.0
Fixes:
  - Upgrading dependencies/peerDependencies
Features:
  - Adding examples

[email protected]

Toggle [email protected]'s commit message
Prod

[email protected]

Toggle [email protected]'s commit message
v 0.9.0

  Breaking changes:
  - Mutation: added `NotCalled` tag to result variant

[email protected]

Toggle [email protected]'s commit message
Breaking changes :

 - Delete the NoData variant in the result of the Query and Mutation components since there always has to be an Error or Data.
 - Mutation component: result variant Data tag only appeared when error was None and data Some. Now, only data has to be Some.
 - Mutation `Called` tag is deleted in result, so pattern matching is easier.
Features:
  - Expand definition of ApolloError to be able to construct one

Fixes:
  - Mutation result pattern matching