Skip to content

Releases: jeddeloh/rescript-apollo-client

v0.0.1-alpha.2

08 Jul 22:20

Choose a tag to compare

v0.0.1-alpha.2 Pre-release
Pre-release

Breaking Changes

  • Switch to using graphql-ppx flags to wrap our operations and fragments in the gql template tag rather than doing this internally. Please add the following to your bsconfig!
  "ppx-flags": [
    [
      "@reasonml-community/graphql-ppx/ppx",
+     "-template-tag-return-type=ApolloClient.GraphQL_PPX.templateTagReturnType",
+     "-template-tag-import=gql",
+     "-template-tag-location=@apollo/client"
    ]
  ],

Improvements

  • Root module is now namespaced as Jeddeloh__ApolloClient.re and then included in ApolloClient.re to avoid namespace collisions. See #3 for context

v0.0.1-alpha.1

03 Jul 21:38

Choose a tag to compare

v0.0.1-alpha.1 Pre-release
Pre-release
Bump version

v0.0.1-alpha

03 Jul 17:01

Choose a tag to compare

v0.0.1-alpha Pre-release
Pre-release

⚠️ WARNING: Things are highly unstable and not fully tested. However, most of the major initial goals are complete and it includes all reason-apollo and reason-apollo-hooks functionality

Goals:

  • Take full advantage of graphql-ppx 1.0 (there’s quite a lot of extra threading parse and serialize required throughout the library now)
  • Switch to @apollo/client beta as the underlying javascript package
  • “Complete” the current binding surface are of reason-apollo and reason-apollo-hooks (there are quite a lot of outstanding issues asking about missing functionality or bugs across the two libraries)

This is a great point jump in and help out if interested (there are still quite a lot of rough edges, IMO).