Skip to content

Commit

Permalink
docs(subscriptions): fixed a typo (MichalLytek#1080)
Browse files Browse the repository at this point in the history
  • Loading branch information
3ba2ii authored Oct 17, 2021
1 parent 8c99665 commit 8ac51be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/subscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class SampleResolver {

We can also provide a custom subscription logic which might be useful, e.g. if we want to use the Prisma subscription functionality or something similar.

All we need to do is to use the the `subscribe` option which should be a function that returns an `AsyncIterator`. Example using Prisma client subscription feature:
All we need to do is to use the `subscribe` option which should be a function that returns an `AsyncIterator`. Example using Prisma client subscription feature:

```typescript
class SampleResolver {
Expand Down

0 comments on commit 8ac51be

Please sign in to comment.