Commit Graph

220 Commits

Author SHA1 Message Date
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
Guillaume Chau 2eea224f7e chore: v3.0.0-beta.11 2018-05-22 16:43:31 +02:00
Guillaume Chau 8c1f585680 chore: faster dev 2018-05-22 16:42:25 +02:00
Guillaume Chau d26bf4b0b3 chore: update deps 2018-05-22 16:04:45 +02:00
Guillaume Chau 73c9c2a4e5 fix: #239 skip prop proxy if query is manual 2018-05-21 20:55:43 +02:00
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 0a3cc3a3df docs: mics fixes 2018-05-21 20:02:20 +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
Frank Dugan III 937094cfcc Add Typescript type for addSmartQuery() (#230)
Currently, there are no Typescript definitions for `addSmartQuery`. This PR adds one line to cover that edge case.
2018-05-21 19:45:17 +02:00
joe-re 2cbf10db78 Update typed apollo provider (#273)
* upgrade @types/graphql

* refactor type definition

* remove unused property

* update apollo-provider type definition

ref: #66504309599ce9d4a31feb8fd5f065d790349c86
2018-05-21 19:44:50 +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
mekhami ba5a840e62 Typo in Query Component Doc (#281)
Just a little typo.
2018-05-13 17:29:42 +02:00
Guillaume Chau 2d3503e2c7 docs: apollo-link-state 2018-05-11 16:17:40 +02:00
Guillaume Chau cabac36295 docs: ApolloQuery times 2018-05-11 15:58:37 +02:00
Guillaume Chau 7d4c4fd754 docs: more info on mutation component + toc update 2018-05-11 15:51:15 +02:00
Guillaume Chau 3d582f354d chore: v3.0.0-beta.10 2018-05-11 15:41:12 +02:00
Guillaume Chau 916675fdb1 fix: improve data handling fix #274 2018-05-11 15:40:19 +02:00
Guillaume Chau 69d40f47ac docs: mutation component 2018-05-11 15:17:21 +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 15f5c20471 chore: v3.0.0-beta.9 2018-05-07 19:30:16 +02:00
Guillaume Chau 80c8fe0d23 fix: $apolloData 2018-05-07 19:30:01 +02:00
Guillaume Chau 05bb9febab chore: v3.0.0-beta.8 2018-05-07 19:10:00 +02:00
Guillaume Chau 304abf7efa fix undefined $apolloData 2018-05-07 19:09:51 +02:00
Guillaume Chau a50aa71dcd chore: v3.0.0-beta.7 2018-05-07 17:34:48 +02:00
Guillaume Chau 31f790d524 fix: ApolloMutation done event: added result arg 2018-05-07 17:34:39 +02:00
Guillaume Chau 83eadce4f3 chore: v3.0.0-beta.6 2018-05-07 17:30:29 +02:00
Guillaume Chau 27171b215f feat: ApolloMutation component + no longer require data declaration 2018-05-07 17:30:09 +02:00
Bram van Neerven b6ac68e7e2 Fixed watchQuery link (#269) 2018-05-02 12:10:22 +02:00
brunocontreras 911d99cdfe Typo in result hook (#264)
`loading` instead of `loader` as parameter
2018-04-21 20:39:53 +02:00
Guillaume Chau 93834e2e89 Update description 2018-03-12 02:16:17 +01:00
Guillaume Chau 404edf2116 Version bump 2018-03-09 20:45:31 +01:00
Guillaume Chau 99b09e4cc0 ApolloQuery events + times attr 2018-03-09 20:45:21 +01:00
Guillaume Chau 626d26c788 Version bump 2018-02-15 17:48:34 +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 64f4db9635 Version bump 2018-02-12 16:43:34 +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