Skip to content

Commit 81bb192

Browse files
committed
Fix links to old project
1 parent 49eb063 commit 81bb192

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

guides/operation_store/access_control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The Authorization header takes the form:
3030
"GraphQL::Pro #{client_name} #{hmac}"
3131
```
3232

33-
[`graphql-ruby-client`](http://github.com/rmosolgo/graphql-ruby-client) adds this header to outgoing requests by using the provided `--client` and `--secret` values.
33+
{% internal_link "graphql-ruby-client", "/javascript_client/sync" %} adds this header to outgoing requests by using the provided `--client` and `--secret` values.
3434

3535
## Authorization
3636

guides/operation_store/client_workflow.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To use persisted queries with your client application, you must:
1515
- [Sync operations](#syncing) from the client to the server
1616
- [Send `params[:operationId]`](#client-usage) from the client app
1717

18-
This documentation also touches on [`graphql-ruby-client`](https://github.com/rmosolgo/graphql-ruby-client), a JavaScript client library for using `OperationStore`.
18+
This documentation also touches on {% internal_link "graphql-ruby-client sync", "/javascript_client/sync" %}, a JavaScript client library for using `OperationStore`.
1919

2020
### Add a Client
2121

@@ -31,7 +31,7 @@ A default `secret` is provided for you, but you can also enter your own. The `se
3131

3232
Once a client is registered, it can push queries to the server via {% internal_link "the Sync API","/operation_store/getting_started#add-routes" %}.
3333

34-
The easiest way to sync is with `graphql-ruby-client sync`, a command-line tool written in JavaScript: [`graphql-ruby-client`](https://github.com/rmosolgo/graphql-ruby-client).
34+
The easiest way to sync is with `graphql-ruby-client sync`, a command-line tool written in JavaScript ({% internal_link "Sync Guide", "/javascript_client/sync" %})
3535

3636
In short, it:
3737

@@ -44,15 +44,11 @@ For example:
4444

4545
{{ "/operation_store/sync_example.png" | link_to_img:"OperationStore client sync" }}
4646

47-
See the readme for [Relay support](https://github.com/rmosolgo/graphql-ruby-client#use-with-relay), [Apollo Client support](https://github.com/rmosolgo/graphql-ruby-client#use-with-apollo-client), and [plain JS usage](https://github.com/rmosolgo/graphql-ruby-client#use-with-plain-javascript).
48-
49-
50-
51-
For help syncing in another language, you can take inspiration from the [JavaScript implementation](https://github.com/rmosolgo/graphql-ruby-client), {% open_an_issue "Implementing operation sync in another language" %}, or email `[email protected]`.
47+
For help syncing in another language, you can take inspiration from the [JavaScript implementation](https://github.com/rmosolgo/graphql-ruby/tree/master/javascript_client), {% open_an_issue "Implementing operation sync in another language" %}, or email `[email protected]`.
5248

5349
### Client Usage
5450

55-
`graphql-ruby-client` generates [Apollo middleware](https://github.com/rmosolgo/graphql-ruby-client#use-with-apollo-client) and a [Relay helper function](https://github.com/rmosolgo/graphql-ruby-client#use-with-relay) to get started quickly.
51+
See the {% internal_link "Sync Guide", "/javascript_client/sync" %} for using OperationStore with Relay Modern, Apollo 1.x, Apollo Link, or plain JavaScript.
5652

5753
To run stored operations from another client, send a param called `operationId` which is composed of:
5854

0 commit comments

Comments
 (0)