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

refetchQueries as string sometimes use wrong variables #2421

Closed
fracmak opened this issue Sep 25, 2018 · 0 comments · Fixed by #2422
Closed

refetchQueries as string sometimes use wrong variables #2421

fracmak opened this issue Sep 25, 2018 · 0 comments · Fixed by #2422

Comments

@fracmak
Copy link
Contributor

fracmak commented Sep 25, 2018

Intended outcome:

After updating the variables for a query, if you fire a mutation that has a refetchQueries by string, the Query component should fetch the query with the current variables

Actual outcome:

Only the initial variables are used

Version

  • apollo-client@2.4.2
  • react-apollo@2.1.11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant