Skip to content

Commit 47e0623

Browse files
author
Guillaume Chau
committed
fetchMore __typename
1 parent 5383b4e commit 47e0623

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,7 @@ export default {
10241024

10251025
return {
10261026
tagsPage: {
1027+
__typename: previousResult.tagsPage.__typename,
10271028
// Merging the tag list
10281029
tags: [...previousResult.tagsPage.tags, ...newTags],
10291030
hasMore,
@@ -1037,6 +1038,8 @@ export default {
10371038
</script>
10381039
```
10391040

1041+
**Don't forget to include the `__typename` to the new result.**
1042+
10401043
## Skip all
10411044

10421045
You can disable all the queries for the component with `skipAllQueries`, all the subscriptions with `skipAllSubscriptions` and both with `skipAll`:

0 commit comments

Comments
 (0)