Skip to content

Commit

Permalink
docs(client): fix watchQuery usage
Browse files Browse the repository at this point in the history
  • Loading branch information
micimize committed Mar 6, 2021
1 parent 59fe7d2 commit aa5373c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/graphql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ can be used to execute both queries and mutations, then reactively listen to cha
```dart
final observableQuery = client.watchQuery(
WatchQueryOptions(
fetchResults: true,
document: gql(
r'''
query HeroForEpisode($ep: Episode!) {
Expand Down

0 comments on commit aa5373c

Please sign in to comment.