-
Notifications
You must be signed in to change notification settings - Fork 121
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 for Apollo Client 3 #237
Comments
@GoranZic I think we need help or a specification on the changes needed to be compatible with Apollo-client 3. Is that something you can help us find? |
@benjamn @jbaxleyiii @hwillson — do you have a specification for how to make links forwards/backwards compatible with ApolloClient 3 and 2.x at the same time? |
This is the best I could find. |
Reading between the lines, I think we’re going to need breaking changes here :-( |
@fbartho the required changes should be fairly minimal. Everything from the I can submit a PR that introduces the required changes for |
It’d be lovely if you know what changes are needed! We haven’t officially shipped this as 1.0 yet, so I guess we’re still in Breaking changes may occur with ever release-land. |
Haha - sounds good. I'll get a PR prepped shortly. |
@fbartho Since this package is still |
@hwillson If I'm not mistaken when reading Migrating to Apollo Client 3.0 the apollo-link-rest packages was left out from the migration process. Is there a reason why it was left out? Also confusing is that the apollo docs 3.0 state that we should |
Thanks for reviewing the migration guide @chrisber! #241 is going to be released when As for the |
Any update on progressing the v0.8.0-beta release to integrate with Apollo Client 3? |
@cpsnowden I haven't received enough feedback about bugs or success of the beta build to feel comfortable shipping it as stable! When I shipped the beta, shortly after that ApolloClient3's release date got pushed back for a few months, so I'm simply not aware if breaking changes occurred after that time. Have you tried to use it yet? My team is hopefully moving to ApolloClient3 over the next month or so, so I figured if I don't get external feedback on the Beta before then, that we'll have to test into ourselves. |
Hey @fbartho! I've been watching this ticket, but didn't realize you were waiting for feedback or I'd have spoken up sooner. 😄 We (SmugMug) have been using apollo-link-rest 0.8.0-beta.0 with Apollo 3 for several months now and haven't run into any issues! It was a painless upgrade as far as apollo-link-rest was concerned, and has been smooth sailing. |
That's great news! Thanks @rgrove! So there you have it @cpsnowden -- the Beta is pretty stable then :P -- I'm happy to tag & ship the official release in the next month or so -- If anybody has any features to squeeze into the milestone we can get it all officially out together! |
Just to chime in - I've been using |
Hi all. I'm trying to use Is there anyone that is experiencing this? Any idea about how to solve the problem? I'm starting a project based on apollo client v3 and apollo-link-rest but this problem is blocking me from adopting this stack, please let me know if someone have similar problems. |
@minox86 — this is news to me. I’ve been a bit busy changing jobs and I’m way behind on merging this PR Now that we know there’s an issue, would you mind filing a separate Github Ticket with reproduction steps so we can look into it? I’d like to get that fixed and ship v0.8.0! Thanks |
We're not yet using Apollo Client 3.4.5 in production (we're a few versions behind), but after seeing these comments I tested 3.4.5 today and it seems to be working fine alongside apollo-link-rest 0.8.0-beta.0. @minox86 is it possible that the issue you're having could be caused by a custom link, custom fetch handler, or some other custom aspect of your particular configuration? Is there an earlier Apollo Client version that works for you? |
Thanks for the update @rgrove! |
This shipped in v0.8.0! Sorry for the lagged update! |
Apollo-client 3 is in the beta phase now. One of its bigger changes is that
apollo-link
is now part of@apollo/client
.I tried using the apollo-client beta version, however I am unable to use
apollo-link-rest
with it as it still referencesapollo-link
, and I end up with two definitions of ApolloLink.Is there roadmap when apollo-link-rest will be switched to the client? And more importantly is there a workaround to this problem?
The text was updated successfully, but these errors were encountered: