Skip to content

Commit

Permalink
docs: fix formatting of HTTP callback setup note (#4434)
Browse files Browse the repository at this point in the history
Fix unformatted bullets in note for HTTP callback setup
  • Loading branch information
shorgi authored Jan 4, 2024
1 parent 70f2ae3 commit 694f18e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/source/executing-operations/subscription-support.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,13 @@ Your router creates a separate WebSocket connection for each client subscription
<PreviewFeature />

<Note>

* Your router must use whichever subprotocol is expected by each of your subgraphs.
* To disambiguate between `graph-ws` and `graph_ws`:

* To disambiguate between `graph-ws` and `graph_ws`:

* `graph-ws` (with a hyphen `-`) is the name of the [library](https://github.com/enisdenjo/graphql-ws) that uses the recommended `graphql_ws` (with un underscore `_`) WebSocket subprotocol.

* Each `path` must be set as an _absolute path_. For example, given `http://localhost:8080/foo/bar/graphql/ws`, set the absolute path as `path: "/foo/bar/graphql/ws"`.

</Note>
Expand Down

0 comments on commit 694f18e

Please sign in to comment.