Skip to content

Commit 201bef3

Browse files
committed
0.0.1-beta
1 parent dd5382a commit 201bef3

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

EXAMPLES/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"dependencies": {
2323
"@apollo/client": "3.0.1",
2424
"@apollo/link-ws": "2.0.0-beta.3",
25-
"@jeddeloh/reason-apollo-client": "^0.0.1-alpha.4",
25+
"@jeddeloh/reason-apollo-client": "0.0.1-beta.0",
2626
"@yawaramin/prometo": "0.11.0",
2727
"graphql": "^14.0.0",
2828
"react": "16.13.1",

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ npm install @apollo/link-context @apollo/link-error @apollo/link-ws subscription
3939

4040
### 3. Apollo-Specific `graphql-ppx` Configuration
4141

42-
Add the following to `bs-dependencies`, `graphql`, and `ppx-flags` in your `bsconfig.json`
42+
Add the following under `bs-dependencies` and `graphql`, in your `bsconfig.json`
4343

4444
```diff
4545
{
@@ -101,7 +101,7 @@ Contains partial bindings to the following:
101101
- [subscriptions-transport-ws](https://github.com/apollographql/subscriptions-transport-ws)
102102
- [zen-observable](https://github.com/zenparsing/zen-observable)
103103

104-
While we strive to provide ergonomics that are intuitive and "reasonable", we do expose a 1:1 mapping to the javascript package structures if that is your preference. For instance, if you're looking in the Apollo docs and see `import { setContext } from '@apollo/link-context'` and you'd prefer to interact with this libaray in the same way, you can always access with the same filepath and name like so:
104+
While we strive to provide ergonomics that are intuitive and "reasonable", we do expose a 1:1 mapping to the javascript package structures if that is your preference. For instance, if you're looking in the Apollo docs and see `import { setContext } from '@apollo/link-context'` and you'd prefer to interact with this library in the same way, you can always access with the same filepath and name like so:
105105

106106
```reason
107107
module Apollo = {
@@ -129,7 +129,9 @@ let httpLink = ApolloClient.Link.HttpLink.make(...)
129129

130130
Apollo bindings in the Reason / BuckleScript community are pretty confusing as a write this (July 14, 2020), so it's worth providing some context to help you make the right decisions about which library to use.
131131

132-
This library, `reason-apollo-client`, targets Apollo Client 3 (currently a release-candidate) and aims to take full advantage of v1.0.0 `graphql-ppx` features (still in beta) and is intended to be a replacement for `reason-apollo` and `reason-apollo-hooks` (all the functionality is here and more). You should avoid using those libraries at the same time as this one (it's possible, but don't unless you have special circumstances).
132+
This library, `reason-apollo-client`, targets Apollo Client 3 and aims to take full advantage of v1.0.0 `graphql-ppx` features (still in beta) and is intended to be a replacement for `reason-apollo` and `reason-apollo-hooks` (all the functionality (minus HOCs) _should_ be here and more). You should avoid using those libraries at the same time as this one (it's possible, but don't unless you have special circumstances).
133+
134+
#### Alternatives
133135

134136
[reason-apollo](https://github.com/apollographql/reason-apollo), despite being under the apollographql github org, doesn't have any official Apollo team support behind it and currently seems like it may be abandoned. It binds to the `react-apollo` js package and some of the older apollo packages not under the `@apollo` npm namespace.
135137

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@jeddeloh/reason-apollo-client",
33
"description": "ReasonML / BuckleScript bindings for the Apollo Client ecosystem",
4-
"version": "0.0.1-alpha.4",
4+
"version": "0.0.1-beta.0",
55
"keywords": [
66
"Apollo",
77
"BuckleScript",

0 commit comments

Comments
 (0)