Mikael Lirbank
CCConvex Community
•Created by Michal Srb on 8/11/2023 in #support-community
Is there any way to invalidate the local cache or manually refetch useQuery?
It's all good, I am adding a custom Contex+Provider to solve it.
7 replies
CCConvex Community
•Created by Michal Srb on 8/11/2023 in #support-community
Is there any way to invalidate the local cache or manually refetch useQuery?
Eg getViewer returns the current user if the cookie is correct, and null if there is no cookie (or the cookie is invalid). Cookie = sessiontToken.
7 replies
CCConvex Community
•Created by Michal Srb on 8/11/2023 in #support-community
Is there any way to invalidate the local cache or manually refetch useQuery?
I send a cookie via args and when the user sign out I need to refresh the current user query so the UI updates.
7 replies
CCConvex Community
•Created by Michal Srb on 8/11/2023 in #support-community
Is there any way to invalidate the local cache or manually refetch useQuery?
I guess I should make the args reactive (state) and just update the input args to refresh?
7 replies
CCConvex Community
•Created by Mikael Lirbank on 6/12/2023 in #support-community
Transfer project to a new team
@ari please check your emails from my team mate Cilla when you have a minute. Thanks 🙏
15 replies
CCConvex Community
•Created by Mikael Lirbank on 6/12/2023 in #support-community
Transfer project to a new team
Worked!
15 replies
CCConvex Community
•Created by Mikael Lirbank on 6/12/2023 in #support-community
Transfer project to a new team
I thought the team was what you upgraded, not my account?
15 replies
CCConvex Community
•Created by Mikael Lirbank on 6/12/2023 in #support-community
Transfer project to a new team
Cannot create more than 2 teams. You can upgrade account limits at https://www.convex.dev/plans.
15 replies
CCConvex Community
•Created by Mikael Lirbank on 6/12/2023 in #support-community
Transfer project to a new team
Okay, got the expense approved. I am setting up the new team but I get this:
15 replies
CCConvex Community
•Created by Mikael Lirbank on 6/12/2023 in #support-community
Transfer project to a new team
Cool, thanks! I have two projects in two different personal teams that I would like to move to a new shared paid team. I'm just waiting to have the upgrade purchase approved so I'll get back to you when I have the paid team set up. Thanks for the help!
15 replies
CCConvex Community
•Created by Mikael Lirbank on 6/12/2023 in #support-community
Transfer project to a new team
I'd like to bring a few personal projects into a paid team.
15 replies
CCConvex Community
•Created by Mikael Lirbank on 6/10/2023 in #support-community
✖ No CONVEX_DEPLOYMENT set, run `npx convex dev` to configure a Convex project
Ahh, that makes sense!
17 replies
CCConvex Community
•Created by Mikael Lirbank on 6/10/2023 in #support-community
✖ No CONVEX_DEPLOYMENT set, run `npx convex dev` to configure a Convex project
Cool, it works now. It seems
NEXT_PUBLIC_CONVEX_URL
redundant now, can I remove it or do I need to keep it?17 replies
CCConvex Community
•Created by Mikael Lirbank on 6/10/2023 in #support-community
✖ No CONVEX_DEPLOYMENT set, run `npx convex dev` to configure a Convex project
But which env var does it go into? Are there any docs covering this?
17 replies
CCConvex Community
•Created by Mikael Lirbank on 6/10/2023 in #support-community
✖ No CONVEX_DEPLOYMENT set, run `npx convex dev` to configure a Convex project
Aha, gotcha. I have to run but I'll try that later.
17 replies
CCConvex Community
•Created by Mikael Lirbank on 6/10/2023 in #support-community
✖ No CONVEX_DEPLOYMENT set, run `npx convex dev` to configure a Convex project
It's not a deploy key.
17 replies
CCConvex Community
•Created by Mikael Lirbank on 6/10/2023 in #support-community
✖ No CONVEX_DEPLOYMENT set, run `npx convex dev` to configure a Convex project
I had these in Vercel since before:
CONVEX_DEPLOY_KEY
NEXT_PUBLIC_CONVEX_URL
But a new env var emerged with 0.16.0
CONVEX_DEPLOYMENT
17 replies
CCConvex Community
•Created by Mikael Lirbank on 6/10/2023 in #support-community
✖ No CONVEX_DEPLOYMENT set, run `npx convex dev` to configure a Convex project
It is new per 0.16.0
17 replies
CCConvex Community
•Created by Mikael Lirbank on 6/10/2023 in #support-community
✖ No CONVEX_DEPLOYMENT set, run `npx convex dev` to configure a Convex project
That one is set, this is another env var: CONVEX_DEPLOYMENT
17 replies
CCConvex Community
•Created by Mikael Lirbank on 6/10/2023 in #support-community
✖ No CONVEX_DEPLOYMENT set, run `npx convex dev` to configure a Convex project
I don't find any info in the Convex admin UI either. Just tried
npx convex dev --configure=existing...
but it didn't help.17 replies