Csizmadia Szabolcs

Results 4 comments of Csizmadia Szabolcs

You could use something like: ```typescript export type Constructor = abstract new (...args: any) => Signature // Remove default vue properties from the component ref instance export type ComponentRef =...

Seems like the culprit is this line: https://github.com/vuejs/apollo/blob/v4/packages/vue-apollo-composable/src/useQuery.ts#L325 This method gets called twice when variables change due to the query being restarted. For the first call, "data" is not present...

A simple workaround: ```typescript const useStableQueryResult = ({ result, }: Pick) => { const stableResult = ref(result.value); watch(result, (newResult) => { if (newResult) { stableResult.value = newResult as UnwrapRef; }...

@M1CK431 Looks like the fixed version was not published to open vsx, there the latest version is still `0.9.2`. https://open-vsx.org/extension/GraphQL/vscode-graphql