Commit Graph

247 Commits

Author SHA1 Message Date
Guillaume Chau b52e9e07bd docs: spacing 2018-06-01 14:40:02 +02:00
Guillaume Chau 816fd759b2 Patreon button 2018-06-01 14:38:54 +02:00
Guillaume Chau 94ec0f002f test: readme 2018-05-30 14:44:01 +02:00
Guillaume Chau 35209311d1 test: wip demo chat 2018-05-30 14:39:22 +02:00
Guillaume Chau 5e50581777 chore: v3.0.0-beta.16 2018-05-30 14:20:08 +02:00
Guillaume Chau 36faab0a84 fix: $query defaultOptions in provider 2018-05-30 14:19:53 +02:00
Guillaume Chau 87d4bba03e chore: v3.0.0-beta.15 2018-05-28 12:27:29 +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 b30fb27420 docs: fix migration guide 2018-05-27 00:55:12 +02:00
Guillaume Chau f1a1e8b36e chore: v3.0.0-beta.14 2018-05-27 00:40:57 +02:00
Guillaume Chau 24f3d28103 docs: update 2018-05-27 00:40:48 +02:00
Guillaume Chau ce6467daab test: wip 2018-05-27 00:34:00 +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 1a3682a208 fix(eslint): ignore schema 2018-05-26 11:42:59 +02:00
Guillaume Chau 384aa41bd1 test: wip e2e 2018-05-24 18:08:52 +02:00
Guillaume Chau 6d98f959c8 chore: v3.0.0-beta.13 2018-05-24 18:04:00 +02:00
Guillaume Chau 4b59520fd5 fix: $query 2018-05-24 18:03:19 +02:00
Guillaume Chau 1e9b42af22 chore: v3.0.0-beta.12 2018-05-23 17:42:49 +02:00
Guillaume Chau 9d528626b1 test: wip demo 2018-05-23 17:42:38 +02:00
Guillaume Chau 446c41daa1 chore: merge master 2018-05-23 16:39:20 +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
Guillaume Chau e630db49a2 test: add apollo 2018-05-23 02:19:58 +02:00
Guillaume Chau 89ac21794e chore: merge master 2018-05-22 17:29:25 +02:00
Guillaume Chau 32d6ec2aea docs: isLoading 2018-05-22 17:29:11 +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 14c498c235 test: add demo app 2018-05-22 15:48:13 +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