···11+---
22+'@urql/core': patch
33+---
44+55+Add missing `fetchSubscriptions` entry to `OperationContext`. The Client’s `fetchSubscriptions` now works properly and can be used to execute subscriptions as multipart/event-stream requests.
+5
.changeset/lazy-needles-give.md
···11+---
22+'@urql/core': patch
33+---
44+55+Fix `fetchSource` not working for subscriptions since `hasNext` isn’t necessarily set.
+1-1
examples/with-defer-stream-directives/README.md
···1717This example contains:
18181919- The `urql` bindings and a React app with a client set up in [`src/App.jsx`](src/App.jsx)
2020-- A local `polka` server set up to test deferred and streamed results in [`server/`](server/).
2020+- A local `graphql-yoga` server set up to test deferred and streamed results in [`server/`](server/).
···11+# With Subscriptions via Fetch
22+33+This example shows `urql` in use with subscriptions running via a plain `fetch`
44+HTTP request to GraphQL Yoga. This uses the [GraphQL Server-Sent
55+Events](https://the-guild.dev/blog/graphql-over-sse) protocol, which means that
66+the request streams in more results via a single HTTP response.
77+88+This example also includes Graphcache ["Cache
99+Updates"](https://formidable.com/open-source/urql/docs/graphcache/cache-updates/)
1010+to update a list with incoming items from the subscriptions.
1111+1212+To run this example install dependencies and run the `start` script:
1313+1414+```sh
1515+yarn install
1616+yarn run start
1717+# or
1818+npm install
1919+npm run start
2020+```
2121+2222+This example contains:
2323+2424+- The `urql` bindings and a React app with a client set up in [`src/App.jsx`](src/App.jsx)
2525+- A local `graphql-yoga` server set up to test subscriptions in [`server/`](server/).