python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
apollo vue useQuery or useLazyQuery hooks variable not recognising ref from page variable
I have the following apollo query in setup. I want to pass the userType dynamically but ref of userType is not recognising.
import getUserQuery from './getUserQuery.graphql';
import { useLazyQuery} f...
D V Yogesh
Votes: 0
Answers: 1
Apollo and Vue3 with form input model. Uncaught TypeError: Cannot assign to read only property '' of object '#<Object>'
I am trying to create a web app that uses Vue3, Apollo, and the Quasar framework. I have schema structure that looks like this:
gql:
workout {
id
exercises {
id
name
sets {
id
...
Sebastian
Votes: 0
Answers: 0
Vue Apollo auto refresh token implementation
I am trying to implement JWT auth to my SPA, login and logout are done, but i can`t figure out the proper (or just working) way to implement refresh token, any help will be appreciated!
I couldn`t fin...
henry_fool
Votes: 0
Answers: 0
Vue Apollo cannot get parameters into mutation to not be null
I am using Vue3 and Apollo Vue v4 using composable API.
I have the following mutation
const onSubmit = handleSubmit((values) => {
const res = createItemMutation({
description: "Test desc...
Nikola-Milovic
Votes: 0
Answers: 1