GithubHelp home page GithubHelp logo

Comments (7)

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024 3

@carinakoo @JakeDawkins this is supported in the new release! (That I'm cutting today!)

from apollo-link-state.

JakeDawkins avatar JakeDawkins commented on April 27, 2024 1

@carinakoo I'll get one opened in the next couple hours!

from apollo-link-state.

JakeDawkins avatar JakeDawkins commented on April 27, 2024 1

Here is the PR for this! Tests are broken (maybe a known issue) and I haven't yet gotten the chance to drop this into a project to make sure it works.

@carinakoo If you'd like, you could try running the changes locally

from apollo-link-state.

carinakoo avatar carinakoo commented on April 27, 2024 1

Tested locally and noted an error in the graphql-anywhere PR.

It appears that the apollo-link-state repo may also require a couple changes to support promises and play nicely with the Apollo Client api. In particular, for refetchQueries and update to be called at the right time after a mutation:

  1. Check if the return value from graphql-anywhere is a promise
  2. Call observer.next and observer.complete after the promise resolves

from apollo-link-state.

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024 1

@carinakoo you are totally correct! I'm going to try to work through the graphql-anywhere PR and see about an alpha / beta for it so we can try it out here!

from apollo-link-state.

jbaxleyiii avatar jbaxleyiii commented on April 27, 2024

@carinakoo for sure! @JakeDawkins is working on that PR in the new location in the AC repo!

If you are anyone want to help I know he would be appreciative

from apollo-link-state.

carinakoo avatar carinakoo commented on April 27, 2024

Great! @JakeDawkins, what kind of help might be useful?

Is there a new PR already in the AC repo?

from apollo-link-state.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.