-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Remotes][Bug] Fix refresh issue after creating/deleting connection #5057
Labels
scope: front
Issues that are affecting the frontend side only
Comments
thomtrp
changed the title
[Remotes] Fix refresh issue after creating/deleting connection
[Remotes][Bug] Fix refresh issue after creating/deleting connection
Apr 19, 2024
ijreilly
added a commit
that referenced
this issue
May 31, 2024
…f using refetchQuery (#5684) Closes #5057. RefetchQuery is unreliable - [it won't be executed if the component is unmounted](apollographql/apollo-client#5419), which is the case here because of the redirection that occurs after the mutation. We want to avoid using refetchQuery as much as possible, and write directly in the cache instead.
github-project-automation
bot
moved this from 👀 In review
to ✅ Done
in Product development ✅
May 31, 2024
Weiko
pushed a commit
that referenced
this issue
May 31, 2024
…f using refetchQuery (#5684) Closes #5057. RefetchQuery is unreliable - [it won't be executed if the component is unmounted](apollographql/apollo-client#5419), which is the case here because of the redirection that occurs after the mutation. We want to avoid using refetchQuery as much as possible, and write directly in the cache instead.
arnavsaxena17
pushed a commit
to arnavsaxena17/twenty
that referenced
this issue
Oct 6, 2024
…f using refetchQuery (twentyhq#5684) Closes twentyhq#5057. RefetchQuery is unreliable - [it won't be executed if the component is unmounted](apollographql/apollo-client#5419), which is the case here because of the redirection that occurs after the mutation. We want to avoid using refetchQuery as much as possible, and write directly in the cache instead.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What
When creating/deleting a connection, redirection is made but the connections list is not updated in production
The text was updated successfully, but these errors were encountered: