Skip to content

Commit dd3a571

Browse files
committed
Just some general formatting fixes, but not the solution.
1 parent 933093e commit dd3a571

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

docs/source/platform/operation-registry.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,17 @@ Operations defined within client applications are automatically extracted and up
5151
5252
When successful, this command should return output similar to the following:
5353
54-
```
55-
✔ Loading Apollo config
56-
✔ Fetching current schema
57-
✔ Publishing <service> to Apollo Engine
54+
```
55+
✔ Loading Apollo config
56+
✔ Fetching current schema
57+
✔ Publishing <service> to Apollo Engine
5858
5959
60-
id schema tag
61-
------ ------------- -------
62-
abc123 <service> current
60+
id schema tag
61+
------ ------------- -------
62+
abc123 <service> current
6363
```
64+
6465
> If you encounter any errors, refer to the _**Troubleshooting**_ section below.
6566
6667
3. Register operations from the client bundle.
@@ -81,7 +82,7 @@ Operations defined within client applications are automatically extracted and up
8182
--key <ENGINE_API_KEY> \
8283
--clientName <CLIENT_IDENTIFIER> \
8384
--queries="src/**/*.{ts,js,graphql}"
84-
```
85+
```
8586
8687
When succesful, the output from this command should look similar to the following:
8788
@@ -141,6 +142,7 @@ Operations defined within client applications are automatically extracted and up
141142
// ...
142143
});
143144
```
145+
144146
For security, it's recommended to pass the Engine API key as an environment variable so it will not be checked into version control (VCS).
145147
146148
6. Verification
@@ -155,7 +157,7 @@ Operations defined within client applications are automatically extracted and up
155157
curl 'http://server/graphql/' \
156158
-H 'Content-Type: application/json' \
157159
--data-binary '{"query":"query { likes{title} }"}'
158-
```
160+
```
159161
160162
If the server is configured properly, it should return:
161163

0 commit comments

Comments
 (0)