Tags: codeheroesdev/reason-apollo
Tags
Add support for apollo upload client: Support FileList, File, Blob or ReactNativeFile instances within query or mutation variables and sends GraphQL multipart requests.
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
Adding Example in swapi Breaking changes: Finishing compatibility with bs-platform ^3.0.0
Breaking Changes: - Upgrading bs-platform to ^3.0.0 Fixes: - Upgrading dependencies/peerDependencies Features: - Adding examples
v 0.9.0 Breaking changes: - Mutation: added `NotCalled` tag to result variant
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