Skip to content

fix useAsyncGraphqlQuery not refetching#84

Merged
dulnan merged 3 commits into
mainfrom
fix/use-async-graphql-query-key
Apr 9, 2026
Merged

fix useAsyncGraphqlQuery not refetching#84
dulnan merged 3 commits into
mainfrom
fix/use-async-graphql-query-key

Conversation

@dulnan

@dulnan dulnan commented Apr 9, 2026

Copy link
Copy Markdown
Owner

introduced by some changes in Nuxt 4.4, causing different query combinations (operation name, variables) to be returned from useAsyncData cache. The bug can be reproduced when using the same component with different variables that change at runtime. The second (or subsequent) component instance would reuse the stale query response instead of refetching.

dulnan added 3 commits April 9, 2026 08:00
introduced by some changes in Nuxt 4.4, causing different query combinations (operation name, variables) to be returned from useAsyncData cache.
@dulnan
dulnan merged commit abb60cc into main Apr 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant