Commit Graph

131 Commits

Author SHA1 Message Date
Guillaume Chau ae2e2a30d7 refactor(types): rewritten most types 2019-09-12 19:58:42 +02:00
Guillaume Chau 0868396c3f chore: fix eslint erros 2019-09-09 14:43:20 +02:00
Joel Mandell 51590c83fe feat: Reactive pollInterval. (#613) closes #453
* Enhancement Akryum#453 Reactive pollInterval.

* Small change for pollInterval enhancement  #453

* Remove unnecessary if-check in pollIntervalChanged
2019-09-07 16:56:04 +02:00
Austin Story b0861dd34e feat: add global prefetch apollo provider option (#710) 2019-09-03 17:32:59 +02:00
Guillaume Chau d3c304e1a1 feat(ApolloQuery): new options prop 2019-07-16 16:44:24 +02:00
Guillaume Chau ddce641cad fix: result not called with notifyOnNetworkStatusChange, closes #263 2019-07-16 16:41:32 +02:00
Guillaume Chau 28a8d5775d fix: apply throttle on query, document, context 2019-07-16 16:40:45 +02:00
Darryl Hein 9419ffd03d docs: Minor spelling correction (#635)
* spelling correction

* spelling correction

* spelling correction

* spelling correction

* spelling correction

* spelling correction

* spelling correction

* spelling correction

* spelling correction
2019-05-28 19:38:41 +02:00
Guillaume Chau 6817321d03 fix(ApolloQuery): default update function 2019-05-21 17:03:47 +02:00
Guillaume Chau 359c02f4d2 fix: uncaught in promise on client-side, closes #572 2019-05-21 17:00:31 +02:00
Guillaume Chau 04891de3a5 feat(components): loading event 2019-05-21 13:57:49 +02:00
Guillaume Chau b3ec95aa48 feat(ApolloQuery): update prop 2019-05-21 13:08:23 +02:00
Guillaume Chau 4ef96c2e4d fix(ApolloQuery): prefetch prop to false freezing server 2019-05-02 18:22:24 +02:00
Luke Konopka 555c200b72 fix: Invoke loadingDone when stopping SmartQuery (#559) 2019-05-02 17:51:14 +02:00
高英健 d3886b9f2b fix: ssr blocking when skip is true (#511) 2019-05-02 17:50:31 +02:00
Guillaume Chau d3856377e8 Merge branch 'master' of github.com:Akryum/vue-apollo 2019-05-02 17:35:10 +02:00
Guillaume Chau 16223610b5 feat(components): allow usage of gql in template 2019-05-02 17:23:39 +02:00
karlito40 d339cb862b fix: updateQuery with result hook (#589) 2019-05-02 15:47:19 +02:00
Guillaume Chau 8bd5d8d187 feat(ApolloQuery): prefetch prop, closes #594 2019-05-02 15:45:01 +02:00
Christopher Bartling (Agosto account) 2f1aa25341 fix: Check for provided truthiness, closes #532 (#533) 2019-02-28 17:50:10 +01:00
Guillaume Chau b335ca2993 fix: skip ssrPrefetch if apollo.$prefetch is false 2019-02-04 19:20:53 +01:00
Guillaume Chau 01b9d7b4f6 fix: ssrPrefetch option was renamed to serverPrefetch 2019-02-04 19:08:13 +01:00
Guillaume Chau a71451e0c9 Merge branch 'master' into ssr-refactor 2019-02-04 19:03:49 +01:00
Fnoop 5a92745f54 feat: Add query key as additional parameter to result callback, closes #445 (#448)
* Add query key as additional parameter to result callback, #445

* Add subscription key as additional parameter to result callback, #445
2019-01-09 09:54:50 +01:00
karl 06c02f89b2 Fix SmartQuery subscriptionToMore 2018-12-06 11:16:29 +01:00
Guillaume Chau d88e6ace17 refactor(ssr): use ssrPrefetch 2018-11-08 08:24:24 -08:00
HS Song 202103a152 fix: fetching incorrect result from cache after an Apollo error (#343) 2018-11-08 08:21:16 -08:00
Guillaume Chau 0345373278 fix: watching and computing of dynamic data props 2018-09-09 11:23:50 +02:00
Guillaume Chau ff040a1db1 fix: added setter for intial value, closes #333 2018-09-08 15:46:43 +02:00
mekhami 799ac2b316 fix: error in renderless rendering (#381) 2018-09-07 21:02:20 +02:00
Juan Antonio Gómez Cabo 00a3efdacd feat: Let the ApolloQuery be a renderless component if tag prop is undefined (#365)
* Let the ApolloQuery be a renderless component if `tag` prop is undefined

* Let the ApolloMutation component be a renderless component if `tag` prop is undefined
2018-08-30 14:00:53 +02:00
Hugome 3c6cd10fc9 feat: Add clientId in ApolloMutation component (#359) 2018-08-30 13:55:35 +02:00
Omar Jbara 9ca73d5863 feat: Added support for debounce and throttle in ApolloQuery component (#349)
* Added support for debounce and throttle in ApolloQuery component

* chore: revert esm dist

* chore: revert min dist

* chore: revert umd dist
2018-08-30 13:55:11 +02:00
ciscorn 5209da0766 fix: SmartQuery shouldn't be auto-started on server when prefetch is false (#348)
* Query shouldn't be started on server if prefetch is false

* fix: new prefetch option support
2018-08-30 13:52:29 +02:00
Guillaume Chau 768e4688b9 refactor: SSR 2018-08-30 13:36:15 +02:00
Guillaume Chau 62829e4a96 refactor: from provide to apolloProvider option, closes #319 2018-08-26 18:16:17 +02:00
Guillaume Chau ddc197683b fix: throttle/debounds closes #311 2018-06-18 14:26:44 +02:00
Guillaume Chau 9cba8ed756 fix: eslint error 2018-06-18 12:06:31 +02:00
Yordis Prieto dff5fb9582 Move times outside of the result data structure (#308)
closes #307
2018-06-18 12:02:47 +02:00
Guillaume Chau e235c92e88 feat: add smartquery argument to loading watchers 2018-06-14 01:22:59 +02:00
Guillaume Chau 7267dc4182 fix: call loading watchers when smart query is destroyed and was loading 2018-06-14 01:22:42 +02:00
Guillaume Chau 36faab0a84 fix: $query defaultOptions in provider 2018-05-30 14:19:53 +02:00
高英健 086b57acd0 fix: hasOwnProperty is not a function (#294)
this.$options.methods may created by `Object.create`, so the object without a prototype can not use `hasOwnProperty` directly
2018-05-28 12:23:41 +02:00
Guillaume Chau 297c6303e1 fix: #272 #283 restart query sub after error 2018-05-27 00:33:43 +02:00
Guillaume Chau 75b69e5f69 feat: error.gqlError => first GraphQL error 2018-05-27 00:32:07 +02:00
Guillaume Chau a043654f8e fix: watch on apollo fields 2018-05-27 00:30:59 +02:00
Guillaume Chau 9c89a24ce5 fix(ApolloQuery): remove console.log 2018-05-26 11:43:15 +02:00
Guillaume Chau 4b59520fd5 fix: $query 2018-05-24 18:03:19 +02:00
Juraj Pikora 4e5b8e17e4 Fix: factory function for throttle/debounce (#288) 2018-05-23 15:24:40 +02:00
Juraj Pikora 267b6fc97b Fix: reactiveSetter deep flag propagation (#289) 2018-05-23 15:24:03 +02:00