Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions docs-src/docs/replication-graphql.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,20 @@ const replicationState = replicateGraphQL(
If it is not possible to create a websocket server on your backend, you can use any other method to pull out the ongoing events from the backend and then you can send them into `RxReplicationState.emitEvent()`.
:::

:::warning graphql-subscriptions v3 Breaking Change
If you are using `graphql-subscriptions` v3 or later, you must use `asyncIterableIterator()` instead of the deprecated `asyncIterator()` method when setting up your subscription resolvers:

```js
// Before (v2)
streamHero: () => pubsub.asyncIterator('streamHero')

// After (v3+)
streamHero: () => pubsub.asyncIterableIterator('streamHero')
```

This change was introduced in graphql-subscriptions v3 to use native `Symbol.asyncIterator` support. For more details, see the [graphql-subscriptions changelog](https://github.com/apollographql/graphql-subscriptions/blob/master/CHANGELOG.md#300).
:::

### Transforming null to undefined in optional fields

GraphQL fills up non-existent optional values with `null` while RxDB required them to be `undefined`.
Expand Down
39 changes: 0 additions & 39 deletions docs/404.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

Loading
Loading