-
In the docs for useLiveQuery they show the following example: query UserProfile @live {
me {
id
login
bio
}
} But then dont explain how you are supposed to invalidate this. Even though the following does work: await liveQueryStore.invalidate(`Query.me`); It would invalidate every single user that is listening to their own "me". To illustrate this further:
How do I get around this? |
Beta Was this translation helpful? Give feedback.
Answered by
mikecann
Feb 3, 2023
Replies: 1 comment
-
Nevermind. I realised that I made a mistake. You should invalidate the identifier |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mikecann
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nevermind.
I realised that I made a mistake.
You should invalidate the identifier
Me:123
NOTMe.123
note that you must use a colon rather than a dot for types.. sigh.