Commit Graph

423 Commits

Author SHA1 Message Date
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 93da3c8ac7 docs: components improvements 2019-05-21 13:35:08 +02:00
Guillaume Chau 369ec13c93 docs: update apollo.config.js 2019-05-21 13:25:50 +02:00
Guillaume Chau d5f3eaa404 Merge branch 'master' of github.com:Akryum/vue-apollo 2019-05-21 13:08:26 +02:00
Guillaume Chau b3ec95aa48 feat(ApolloQuery): update prop 2019-05-21 13:08:23 +02:00
Óscar a7680f6eef docs: fix example mutation name (#614)
On the local schema declared mutations are "changeItem" and "addItem", but the next steps refers to "checkItem".
2019-05-16 19:54:32 +02:00
Natalia Tepluhina c466f9893f docs: Local state management (#606)
* docs: add local state intro

* docs: add section about initializing Apollo cache

* docs: described local mutations

* docs: added extending local schema
2019-05-12 16:54:35 +02:00
Thomas Waldecker 2293adb03f docs: change subscription check to prevent ts error (#601)
I changed it like it is written in the apollo docs: https://www.apollographql.com/docs/react/advanced/subscriptions
And it works.
2019-05-05 19:18:05 +02:00
Guillaume Chau 27f6df6453 chore: v3.0.0-beta.29 2019-05-02 18:27:10 +02:00
Guillaume Chau 4ef96c2e4d fix(ApolloQuery): prefetch prop to false freezing server 2019-05-02 18:22:24 +02:00
Guillaume Chau c2ad4d14fb chore: upgrade dev deps 2019-05-02 18:07:34 +02:00
Guillaume Chau e7e08749d4 chore: upgrade deps 2019-05-02 18:05:48 +02:00
Taku Fukada e633f8d3ad fix(ts): Add missing declarations to $apolloProvider (#493) 2019-05-02 18:03:42 +02:00
Markus Lanthaler b5b546c26d fix(ts): VueApolloSubscriptionOptions typing (#499) 2019-05-02 18:03:22 +02:00
hannes e0806c5355 docs: add missing info to start apollo server (#504) 2019-05-02 18:02:38 +02:00
hannes 8e26ca72ef docs: clarify data usage for subscriptions (#505)
* docs: clarify data usage for subscriptions

* Update subscriptions.md


Co-authored-by: Guillaume Chau <guillaume.b.chau@gmail.com>
2019-05-02 18:02:04 +02:00
Matt Thomas 3cf400ce52 docs: Add more complete example of multiple client configuration (#506) 2019-05-02 17:55:58 +02:00
Yumin Xia 6bda229612 fix(ts): prefetch type (#517) 2019-05-02 17:55:07 +02:00
Reed Jones 3e2fb7268e docs: fix typo in docs, connexion => connection (#518)
Co-authored-by: Guillaume Chau <alphadelta.fg@gmail.com>
2019-05-02 17:54:18 +02:00
Daniel Hritzkiv db1904d97b fix(ts): skip and prefetch query options definitions (#556)
`(context: any) => any | boolean` was technically `(context: any) => (any | boolean)` which ultimately resolves to `(context: any) => any`.

`skip` and `prefetch` can take a plain boolean, so this fixes that issue.
2019-05-02 17:52:51 +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 1824dcebbf docs(ApolloQuery): query operations example, closes #423 2019-05-02 17:47:09 +02:00
Guillaume Chau d3856377e8 Merge branch 'master' of github.com:Akryum/vue-apollo 2019-05-02 17:35:10 +02:00
Guillaume Chau 02e90636b8 docs(gql in template): update note about vue-cli-plugin-apollo 2019-05-02 17:35:03 +02:00
Guillaume Chau 35b1f1107e chore(demo): use gql tag inside template 2019-05-02 17:34:42 +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 c9ffb8f527 Merge branch 'master' of github.com:Akryum/vue-apollo 2019-05-02 15:45:19 +02:00
Guillaume Chau 8bd5d8d187 feat(ApolloQuery): prefetch prop, closes #594 2019-05-02 15:45:01 +02:00
mx 131a8821d6 docs: Clarified values for pollingInterval. (#591) 2019-04-29 22:37:32 +02:00
James Harrington e6670c8bae docs: Clarifying it must be a smart query (#590)
It wasn't very clear that it i needed to attach the subscription to a smart query.
2019-04-29 14:21:05 +02:00
Guillaume Chau 4d4cdab23e chore: update sponsors 2019-04-25 00:12:53 +02:00
Guillaume Chau 81f6c8a3af chore: update sponsors 2019-04-24 23:55:30 +02:00
Eligijus Krėpšta b32f10dea5 docs: Typo in smart-subscription.md (#580) 2019-04-15 17:27:13 +02:00
Agustin Bacigalup 2c2a92c097 docs: use createHttpLink (#568) 2019-04-15 16:45:45 +02:00
Guillaume Chau fedf7e92cc chore: fix sponsor size 2019-03-18 20:20:16 +01:00
Guillaume Chau 7969594248 chore: update sponsors 2019-03-18 20:19:25 +01:00
Christopher Bartling (Agosto account) 2f1aa25341 fix: Check for provided truthiness, closes #532 (#533) 2019-02-28 17:50:10 +01:00
高英健 d83a18fb4f docs: sync Chinese doc to 3.0.0-beta.28 (#509)
Just a suggestion: maybe a stable version of vue-apollo can be published after this wonderful ssr refactor?
2019-02-20 12:58:40 +01:00
Guillaume Chau 3f57cf5b3c refactor(ssr): use ssrPrefetch (#469)
* refactor(ssr): use ssrPrefetch

* fix: ssrPrefetch option was renamed to serverPrefetch

* docs(ssr): vue version notice

* fix: skip ssrPrefetch if apollo.$prefetch is false

* docs: new SSR docs

* chore: v3.0.0-beta.28
2019-02-04 20:30:01 +01:00
Guillaume Chau 455a5e7f10 chore: v3.0.0-beta.28 2019-02-04 20:29:29 +01:00
Guillaume Chau 43ff770c03 docs: new SSR docs 2019-02-04 19:56:09 +01:00
Guillaume Chau b335ca2993 fix: skip ssrPrefetch if apollo.$prefetch is false 2019-02-04 19:20:53 +01:00
Guillaume Chau 72d687d53a docs(ssr): vue version notice 2019-02-04 19:09:37 +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
Guillaume Chau 05dd42618c docs: update sponsors 2019-01-24 10:49:00 +01:00
Guillaume Chau 13223e6faf docs: update clientId prop description 2019-01-10 15:08:17 +01:00