Open mathieuCatapulpe opened 3 months ago
After a successful query using either useAsyncQuery or useQuery I can console.log my result, but when trying to access result.value it returns null as shown in the example bellow
useAsyncQuery
useQuery
import fetchProgramme from "~/config/graphql/preview/programme.graphql" const { result } = useQuery( fetchProgramme , {id: previewId}, ); console.log('result : ' , result) console.log('result.value : ' , result.value)
Being able to access result.value
No response
Also tried :
nuxt dev
prefetch : false
i have this issue too!
Environment
Describe the bug
After a successful query using either
useAsyncQuery
oruseQuery
I can console.log my result, but when trying to access result.value it returns null as shown in the example bellowExpected behaviour
Being able to access result.value
Reproduction
No response
Additional context
Also tried :
useQuery
anduseAsyncQuery
nuxt dev
prefetch : false
parameter to the queryLogs
No response