Commit Graph

67 Commits

Author SHA1 Message Date
Guillaume Chau 916675fdb1 fix: improve data handling fix #274 2018-05-11 15:40:19 +02:00
Loi Tran 4eb30c780f fixed: receiving error if _this. is not defined #275 (#279)
* fixed: receiving error if _this. is not defined #275

* fixed: receiving error if _this. is not defined #275
2018-05-11 12:48:17 +02:00
Guillaume Chau 80c8fe0d23 fix: $apolloData 2018-05-07 19:30:01 +02:00
Guillaume Chau 304abf7efa fix undefined $apolloData 2018-05-07 19:09:51 +02:00
Guillaume Chau 31f790d524 fix: ApolloMutation done event: added result arg 2018-05-07 17:34:39 +02:00
Guillaume Chau 27171b215f feat: ApolloMutation component + no longer require data declaration 2018-05-07 17:30:09 +02:00
Guillaume Chau 99b09e4cc0 ApolloQuery events + times attr 2018-03-09 20:45:21 +01:00
Guillaume Chau e67727e492 Support result hook in SmartQuery subscribeToMore 2018-02-15 17:48:25 +01:00
Guillaume Chau ca751be551 Fix ApolloQuery default slot 2018-02-15 17:47:04 +01:00
Guillaume Chau aee18b7f0d If query is a function, call it in prefetchAll - fix #153 2018-02-12 16:43:26 +01:00
Guillaume Chau c8ab8dbfb3 SmartSubscription: bind updateQuery to vm - fix #154 2018-02-12 16:42:38 +01:00
Guillaume Chau 164b7bb9de Cleanup console log 2018-02-12 16:34:08 +01:00
Guillaume Chau 6650430959 Query components + loading + provider improvements 2018-02-11 21:55:43 +01:00
Dustin B 96570a169a Don't require the key to match the query name (#186)
In "manual" mode, the user is setting the manually working with the value, so an error should not be thrown if the key isn't present in the response.
2018-02-07 19:40:43 +01:00
Guillaume Chau 7889a0d590 Fix data not updating if 'variables' changes and apollo doesn't need a request 2017-11-01 21:04:12 +01:00
Guillaume Chau 185104a379 Update build config 2017-11-01 16:32:52 +01:00
Guillaume Chau 2745e3d301 Apollo 2 support 2017-10-28 16:03:48 +02:00
Guillaume Chau d5a4407049 Subscriptions are no longer run on server + SSR Fixes 2017-10-19 19:45:45 +02:00
Guillaume Chau be7ad374c0 Merge remote-tracking branch 'origin/master' 2017-09-14 11:55:43 +02:00
Guillaume Chau f6207dae97 Manual mode 2017-09-14 11:55:28 +02:00
Paweł Grabarz 8dbcaddc7b Prevent overeager subscription restarts on variable reevaluation without change (#116) 2017-09-13 14:37:22 +02:00
Guillaume Chau d2089e40b3 (SSR) Fix an issue with exportStates default options 2017-08-29 13:59:09 +02:00
Guillaume Chau 015e0a1770 Fix SSR crash 2017-08-29 13:15:00 +02:00
Guillaume Chau bf068cee31 Revert this.$apollo 2017-08-29 13:14:50 +02:00
Guillaume Chau 91ce78d97f Fix $watchLoading 2017-08-28 19:31:55 +02:00
Guillaume Chau d07900cf72 More special options, default options, provider options, better doc (wip) 2017-08-28 18:59:20 +02:00
Guillaume Chau 086b486bd7 Fix #101 2017-08-28 16:49:50 +02:00
Guillaume Chau 1d580a4969 Fix #97 2017-08-28 16:35:21 +02:00
Guillaume Chau fa450d0ff2 Now supports multiple subscribeToMore on query 2017-08-28 15:59:27 +02:00
Guillaume Chau 3633e3fc45 Fix https://github.com/meteor-vue/vue-meteor-demo/issues/9 2017-08-11 06:47:07 +02:00
狼族小狈 5376854b34 fix:bind this (#93) 2017-08-02 12:20:55 +02:00
Alexandre Bonaventure Geissmann 1436cc5e10 fix: clone options to avoid sharing state between multiple instances (#96)
see (#95)
2017-08-02 12:20:07 +02:00
Guillaume Chau ef0c65552f New apolloProvider.getStates() method 2017-07-26 12:00:00 +02:00
Guillaume Chau 7571745e9a Browser version 2017-06-30 20:19:07 +02:00
Guillaume Chau 6a28b75bcd Merge pull request #74 from manukall/fix_watch_loading_when_no_new_results_are_returned
fix refetch + watchLoading when no new results are returned
2017-06-30 18:01:52 +02:00
Manuel Kallenbach 709fcd999b use !result.loading instead of result.loading === false 2017-06-26 18:29:55 +02:00
Guillaume Chau b1f7090661 BEtter subscribe to more inside query def + Readme changes 2017-06-19 14:04:21 +02:00
Manuel Kallenbach 7ebc14d217 fix refetch + watchLoading when no new results are returned 2017-06-18 18:26:16 +02:00
Guillaume Chau 2e6ac99ba8 Working SSR support 2017-05-01 01:10:54 +02:00
Guillaume Chau 64c1a3ada1 Expose addSmartQuery/Subscription in API 2017-04-22 23:36:37 +02:00
Guillaume Chau ad2ce11b0a Better loading state handling 2017-04-22 21:10:50 +02:00
Guillaume Chau b5b16dd439 Fix collect/ensureReady bug 2017-04-22 21:09:03 +02:00
Guillaume Chau b52122da08 Improved collect/ensureReady 2017-04-22 20:30:45 +02:00
Guillaume Chau 4612b0676b Fix #49 2017-04-16 02:43:06 +02:00
Guillaume Chau e29090f9d6 Fix mixins 2017-04-16 02:22:49 +02:00
Guillaume Chau f926443c0a Better loading state handling 2017-04-04 00:26:02 +02:00
Guillaume Chau f6a3600638 [Breaking] Smar Query: result hook parameter is now a full ApolloResult 2017-04-04 00:25:44 +02:00
Guillaume Chau 87cf9a3582 ApolloProvider: New waitForLoaded option 2017-04-04 00:24:58 +02:00
Guillaume Chau fd8d63b479 Multiple clients & initial SSR support 2017-04-03 00:57:23 +02:00
Guillaume Chau 0b04372cc3 Merge pull request #44 from tillkolter/hotfix/fix_watchLoading
Renamed option loadingChangeCb to watchLoading
2017-03-27 02:19:27 +02:00