Guillaume Chau
effec9303f
fix: use apply
2018-05-21 20:35:35 +02:00
Guillaume Chau
534beff50b
refactor: callHandlers fix #108
2018-05-21 20:32:16 +02:00
Guillaume Chau
05df318ac5
refactor: watchers in start() fix #122
2018-05-21 20:26:15 +02:00
Guillaume Chau
3d4e68fda8
feat: ApolloQuery deep prop
2018-05-21 20:18:17 +02:00
Guillaume Chau
877755f755
fix: set components props to undefined
2018-05-21 20:16:13 +02:00
Guillaume Chau
c53127d205
feat: deep options fix #219
2018-05-21 20:15:36 +02:00
Guillaume Chau
65a77f9202
fix: eslint
2018-05-21 20:00:45 +02:00
Guillaume Chau
878f966b1f
fix : #265 silent errors if catched
2018-05-21 19:54:54 +02:00
David Duarte
fccb313293
Remove lodash to reduce final size ( #251 )
2018-05-21 19:50:29 +02:00
Legenko Roman
385dec2237
Add default query options ( #257 )
2018-05-21 19:43:18 +02:00
Dominic Garms
a9dffa3906
relax getter on loading ( #237 )
...
* relax getter on loading
* fix setter as well
2018-05-21 19:39:33 +02:00
Binyomin Greenes
c8f9f30482
Pass back isLoading to scoped-slot ( #218 )
...
* Pass back `isLoading` to scoped-slot
Right now `loading` is only set when a result is received, not when the request is sent. Using `watchLoading`, we can pass the loading state from when the request is sent.
* Use $apolloData.loading
We can simply use the $apolloData.loading property to get the current loading state of the query.
2018-05-21 19:38:46 +02:00
gaberudy
82d6c02f7b
no-cache smart queries are throwing exceptions in optimistic UI updates ( #280 )
...
This short circuits unproductive cache work for no-cache queries that will not exist
2018-05-21 19:37:57 +02:00
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