Apollo-angular: Support Apollo Client v3

Created on 30 Oct 2019  路  15Comments  路  Source: kamilkisiela/apollo-angular

enhancement in progress

Most helpful comment

Apollo Client 3.0 has been officially released now 馃帀

Blog Announcement
Github Release

Pleased to hear that there will be a new version of Apollo Angular, will be great to have access to the new caching features.

All 15 comments

Looks like allot of progress has been made over at https://github.com/apollographql/apollo-client/blob/release-3.0/ is this sufficient to start implementing 3.0?

I'm working on it here #1383. I think it's fairly stable to start using Apollo Client v3. You can expect an alpha release this weekend.

Any chance that the observable variables from v1 that were dropped in v2 (#425) might get re-implemented for v3? :)

Interesting update with the caching system, might be interesting to see how it fits with angular wrapper: https://github.com/apollographql/apollo-feature-requests/issues/5

Is this package still actively maintained?
What is the suggested way of combining apollo v3 and angular?

@Eraldo is Apollo Client v3 out already? Once it's out, there will be a major version of Apollo Angular too

I am super glad to hear that.
Thank you @kamilkisiela. 馃槃

Apollo Client 3.0 has been officially released now 馃帀

Blog Announcement
Github Release

Pleased to hear that there will be a new version of Apollo Angular, will be great to have access to the new caching features.

@kamilkisiela is #1383 able to be merged or will a new PR be needed?

The Apollo team published Apollo Client 3.1 today. Any timeline for an Apollo Angular release supporting v3?

There is a PR open that supports AC3 (now released as [email protected]) here: https://github.com/kamilkisiela/apollo-angular/pull/1383

Please help testing it and giving feedback if you can! @KeithGillette @charsleysa

@kamilkisiela it looks like you forgot to push the tag for [email protected]. I can install 2.0.0-alpha.6, will see

@intellix apollo-angular-link-persisted wasn't updated, I changed its version by mistake :(

Tried updating and fixed all of the type errors but just ended up with a WSOD (White Screen of Death) with the tab freezing with 150% CPU and was unable to even profile why. Guess I'll wait for other people to try it out

The Apollo team published Apollo Client 3.1 today. Any timeline for an Apollo Angular release supporting v3?

Also interested in this. This as a feature that allows me to workaround this bug: https://github.com/apollographql/apollo-client/issues/6760

basically 'cache-and-network' fetchpolicies now do a network request everytime something updates the query. I have a page where I do a few local mutations and update a query. This then gets overwritten by the network request data coming in.
3.1 gives us the setting nextFetchPolicy which allows us to get the old 'cache-and-network' behaviour back (more here: https://github.com/apollographql/apollo-client/issues/6760#issuecomment-668188727)

edit: nvm, a npm i fixed it 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kobojsaren picture kobojsaren  路  6Comments

Pokerkoffer picture Pokerkoffer  路  3Comments

miquelferrerllompart picture miquelferrerllompart  路  7Comments

jkossis picture jkossis  路  5Comments

crumhorn picture crumhorn  路  6Comments