Releases: jeddeloh/rescript-apollo-client
Releases · jeddeloh/rescript-apollo-client
v0.0.1-alpha.2
Breaking Changes
- Switch to using
graphql-ppxflags 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.reand then included inApolloClient.reto avoid namespace collisions. See #3 for context
v0.0.1-alpha.1
Bump version
v0.0.1-alpha
⚠️ 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/clientbeta as the underlying javascript package - “Complete” the current binding surface are of
reason-apolloandreason-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).