-
Notifications
You must be signed in to change notification settings - Fork 162
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
Mutations in apollo devtools #35
Comments
I am pretty sure this is do-able, and I plan on taking a crack at it very soon! |
You mean the mutations that are currently attached to components in the UI, like the query panel? Or a log of mutations? Right now, you can already do mutations via GraphiQL, it would be good to get some more info about what you would like to know about mutations. |
Yes like the mutations attached to components. Yes like the query panel. Right now in apollo devtools you can only view a list of Watched queries run. Mutations are not included. I am not talking about graphiql, I am talking about the apollo devtools chrome application. Not sure what more information I can give. Happy to try though :) Would dig this functionality. |
Yeah, being able to easily get the mutations from your code and see when they are called, and maybe call them yourself (even triggering the optimistic updates, etc) would be pretty sweet! |
Hey guys I have made this change. Check it out and let me know what you think :) |
@ryannealmes where can we check this out?! Nice work! |
You can pull down the repo and follow the readme to install the chrome extension
Note there is a dependency on the latest version of the apollo-client. This unfortunately couldn't be avoided. If you don't have the latest version, the mutations tab will not display. Ping me with any feedback :) |
Sorry looking at the apollo-client, they haven't released a new version yet. You can always modify your node_modules apollo-client directly if you just want to see it working. You can get the PR here apollographql/apollo-client#1699 I just changed timezones so my responses may be a bit delayed. |
@ryannealmes did they release a new version? I saw they released this 4 days ago: https://github.com/apollographql/apollo-client/releases/tag/v1.3.0 |
There are some changes they want done which I need to do. Haven't had enough time to get to it. You can see the changes and add any comments on the PR. |
PR is merged 😄 I'll close this when the feature is released |
Looks like this has been released?! Anyone want to verify that? |
It has been released! |
I can't seem to find mutations in the apollo devtools. I would have thought it would work just like any other query.
Is this be design? Is there an enhancement planned? Am I just missing it?
Thanks.
The text was updated successfully, but these errors were encountered: