-
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
Variables don't display for queries #539
Comments
@afrankel-sfdo I haven't been able to re-create this. Any chance you (or anyone else) could provide a reproduction (tested against 3.0.5)? |
@hwillson is there an easy way to setup a public example apollo client/server app? My test case is private. |
I have a similar issue. |
I also have a similar issue. |
@hwillson I think the issue is when we use apollo client v2. See this example here: https://codesandbox.io/s/apollo-client-devtool-variables-94kn5 |
That's also true for us, using v2. |
@hwillson can you remove |
Thanks @afrankel-sfdo - the absolute best way to help move this along would be if someone is able to take a quick pass at creating a PR to fix this. We'll definitely get to it soon, but a PR would help expedite things for sure. 🙏 |
@hwillson traced the issue through dev tools, and far as I can tell it's a bug in the v2 client, not passing the variables correctly. the
variables
|
@hwillson any insights for the above? |
We also had this same issue, we are currently stuck on Apollo client 2x for the time being. What I ended up doing is just grabbing the last 2x version of apollo-client-devtools here and building it and installing this old version of the chrome extension. Once I have this old version the query variables show up again. |
Yes, that is what my team did as well. Eventually we did migrate to v3 and the migration was pretty painless! |
Intended outcome:
Any variables executed in a query should show in the active queries inspector.
Actual outcome:
Variables are always empty for queries. Mutations are fine.
How to reproduce the issue:
Network tab
Apollo dev tools
Issue
network request shows
variables":{"id":123123}
but Apollo hasroot: {} 0 keys
Desktop
The text was updated successfully, but these errors were encountered: