From ddbb88ba7acc1755b106c01b2e3bef73776f74c1 Mon Sep 17 00:00:00 2001 From: Nulla Wu Date: Sat, 1 Sep 2018 09:16:12 +0800 Subject: [PATCH] Add a warning from my pain See issue: https://github.com/Akryum/vue-apollo/issues/375 --- docs/guide/apollo/pagination.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guide/apollo/pagination.md b/docs/guide/apollo/pagination.md index c9734347..30f8bc24 100644 --- a/docs/guide/apollo/pagination.md +++ b/docs/guide/apollo/pagination.md @@ -9,6 +9,8 @@ Use the `fetchMore()` method on a Smart Query to load more data. ::: warning Don't forget to include the `__typename` to the new result. + +Don't change the returned initial variables when using `variables()`, or data of list would be lost. ::: Example: