hey how do i execute a mutation? i'm
hey how do i execute a mutation? i'm using convex + svelte and i see a useQuery hook but no docs on how to do the mutation. Do i just call the api.whatever.whatever directly?
Getting this `WebSocket closed with code
Getting this
WebSocket closed with code 1011: InternalServerError
our whole platform seem to be down now.Optimistic updates for endpoints
Yes but this is for mutations and queries, for example if I make a request to an endpoint in convex how do I handle an optimistic update. Thereโs no way to access the local cache.
Convex alpha including local dev deployments
For anyone with time and interest in giving some feedback on some upcoming features, here's a new convex alpha
npm i convex@1.18.3-alpha.3
that includes local development deployments.
I'd love to hear how this works for you, but don't install this alpha if it's not a good time for you to use something not quite stable to give feedback. These features will come to a stable release soon.
In particular, we're aware of issues with running local deployments on Windows without the Microsoft Visual C++ Redistributable installed....Invalid refresh token with Convex Auth
how can i solve this error and make user relog?
auth:store
type: refreshSession'
let's move this to a support thread if
let's move this to a support thread if you want to keep digging in
I have to save a record on my table that
I have to save a record on my table that is the following structure, Group>SubGroup>Item.
i have just a few categories (10s), subcategories(100s) and tags (1000s).
Do i create a table for each, or denormalize, i have no idea to be honest , whats more eficient in convex?...
Convex Auth
So in Convex Auth, the client side doesn't know the current user id unless they query for it?
i find the plural to be quite optimistic
i find the plural to be quite optimistic about the potential adoption of my app(s)
Dashboard function tester question
Is there a way I can create a user in my app from the Convex dashboard? I'm using Convex auth and I've set up
createOrUpdateUser
in auth.ts
but it's not available within the function explorer.Where Actions can be called
actions can be only called by client? https://docs.convex.dev/functions/actions
index arrays
Hello, does anyone know if there's a plan to support indexed arrays in the future? I've seen a few work arounds but hoping they don't have to be permeant.
I think I found a bit of a bug? or at
I think I found a bit of a bug? or at least an unintuitive DX
signOut
from useAuthActions
returns a promise, but awaiting that promise does not guarantee the user is signed out.
Here is that I am doing ...It's fixed, thank you. However, I still
It's fixed, thank you. However, I still see the message 'Please fix the errors above to continue.' in all tables and documents. I don't have any issues with my documents or schema, so this is likely a separate bug.
helping Delveroff
Hi! Could somebody help me? I need to call internal queries/mutations remotely. I use Next.js and SSR. I would like to
fetchQuery(internal.tasks.list)
. But it doesn't work. I want to make queries internal so I don't validate the input parameters (I want to do it elsewhere).
Supabase, i.e., provides us with two keys: default and anon. Anon is for public API. Default is for private use....TS Project References and Convex for big codebases
Just started taking a look at TS Project References, this caught my attention "can greatly improve the speed of typechecking and compiling, reduce memory usage when using an editor, and improve enforcement of the logical groupings of your program." just what im looking for, as our fairly big codebase is starting to bring TS to its knees, at least it feels that way.
Does anyone have any experiences using it in a monorepo setup, like convex as a library and some client side apps referencing that convex lib?
I'm very keen to start a thread on this, as it seems none exists already ๐...
Why does ctx.auth.getUserIdentity() does
Why does ctx.auth.getUserIdentity() does not work inside internal mutation?
I don't understand this design decision
I don't understand this design decision to chop off the last digits on the
_id
-field in the dashboard. Is it intentional?