Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

loading is true for mutations that haven't been invoked yet #64

Closed
hamzapurra opened this issue May 26, 2016 · 3 comments
Closed

loading is true for mutations that haven't been invoked yet #64

hamzapurra opened this issue May 26, 2016 · 3 comments

Comments

@hamzapurra
Copy link

screen shot 2016-05-27 at 1 46 27 am

@inyono
Copy link

inyono commented May 28, 2016

Same for me. I quickly scanned over the code and tests and found this: https://github.com/apollostack/react-apollo/blob/master/test/connect/mutations.tsx#L84. According to the test, loading: true before invocation is intended.

@jbaxleyiii
Copy link
Contributor

Thanks for pointing this out! Originally the query data and mutation data (defaults) had the same state. It doesn't make a lot of sense on the mutation side. Fixed here: #65

@deoqc
Copy link

deoqc commented Aug 3, 2016

@jbaxleyiii I'm seeing this same issue again.

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

No branches or pull requests

4 participants