Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support apollo-client v3.0.0 #25

Open
4 of 6 tasks
morrys opened this issue Nov 10, 2019 · 8 comments
Open
4 of 6 tasks

support apollo-client v3.0.0 #25

morrys opened this issue Nov 10, 2019 · 8 comments

Comments

@morrys
Copy link
Owner

morrys commented Nov 10, 2019

  • adapt apollo-cache to the new apollo-client 3.0 cache management (80% done)
  • adapt apollo-offline with the new apollo-client 3.0 mutation management (80%)
  • adapt the todo example project
  • adapt the sample project in nextjs & SSR (there are problems with the compilation, the library is not distributed with the use of tslib
  • test garbage collector
  • open a PR in Apollo to expose internal APIs cache & mutation)

branch wora: https://github.com/morrys/wora/tree/apollo-client-3.0
branch examples: https://github.com/morrys/offline-examples/tree/apollo-client.3.0

@terreb
Copy link

terreb commented Jul 15, 2020

Thank you for the awesome package! Do you have any ETA on when the support for @apollo/client >=3.0.0 arrives?

@morrys
Copy link
Owner Author

morrys commented Jul 15, 2020

Hi @terreb,
at the moment I can't call you an ETA this for two reasons:

  • my two PRs made in apollo are still open and it is not clear if and when they will be integrated
  • with apollo 3.0, at the moment, they do not support persistence. see what's next?

For these reasons, I think it is early to make an apollo-cache and apollo-offline integration that guarantees use in production without risking significant breaking changes.

@terreb
Copy link

terreb commented Jul 15, 2020

Hi @morrys, thank you for your reply. Makes sense indeed!

@robnewton
Copy link

robnewton commented Apr 6, 2021

What’s the latest update on AC3? Their docs point to https://github.com/apollographql/apollo-cache-persist for cache persistence now.

@morrys
Copy link
Owner Author

morrys commented Apr 6, 2021

It now appears that AC3 is mature enough and used to evaluate the release of its support 👍

At the moment I can't say when I will be able to release it but I will keep you updated so that you can help me test it 💯

@robnewton
Copy link

Yeah that would be great, please do keep us updated. We are starting a new project now so will use v2 for the moment and would be happy to help test as you progress on v3.

@calliday
Copy link

This is a great set of packages but the support for them are lacking, are there alternative repos that support persisted and cached graphQL requests, which work with apollo3-cache-persist (or replace it)?

@morrys
Copy link
Owner Author

morrys commented Jul 15, 2021

@calliday, the support for apollo 3 has not yet been carried out because even in the future version 3.4.0, which is now at the 19th release candidate, the store is very impacted.

Also, the PR apollographql/apollo-client#5601 that allows for easy integration I suppose will never be accepted.

I'm sorry for this but for now I don't feel like releasing the support with these conditions and not guaranteeing a correct functioning of the library in the medium / long term.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants