Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the fullstack TypeScript platform for developers and startup founders.

Join

support-community

show-and-tell

general

self-hosted

announcements

do the AI chatbot has access to the

do the AI chatbot has access to the convex-helpers docs/repos? if not then it would be also helpful

Realtime data sync between SQL/Convex

Hello guys, is there Safeway to create self hosted convex database and connect it to sql server for realtime data overwriting.

does Convex support Clerk core2?

does Convex support Clerk core2?

I'd:

I'd: - Make sure that npx convex dev is running successfully (it does a little codegen that might have different results between your branches) - Restart TypeScript server in VS Code (as it is a fickle mistress)...

Preloading queries

Hi guys, is it possible to preload the first query on the server? (found it: https://docs.convex.dev/client/react/nextjs/server-rendering)

Clerk webhooks

Are Convex examples page gone? I was looking for Convex Authentication with Clerk and I can't find the Convex docs' page I get the github page but I was looking for the docs page so maybe I was missing a step in webhooks, so I'm stuck on webhooks, Also is that svix one something Convex(Or Convex + Clerk setup) automatically creates, I think I didn't add something like that and project is already new so I would remember(I didn't even know what Svix is)?...
No description

Test auth in actions with convex-test

Hi guys, how can we test Actions that require a user with convex-test?

Options for managing non-persistent state

Hello, I am wondering how everyone manages their app state? (Context: next js app with convex and clerk auth) With convex I don't have to worry about managing most of my state & it's realtime (amazing) However how do you manage global state that is not related to / stored in the database? Does convex have any helpers for this? ...

Storing Firebase uid in Convex db

if i use firebase as auth what are the risks of just storing the uid into a users table in convex?

Catching thrown errors from queries

I reviewed the documents and posts in the support channel, but I did not get the answer I wanted. This client blows up the entire application when I return a throw error from a query. Error bound has been suggested, but what I want is not to kill a component or the entire tree, but just print the error message in toast. I don't want to break the UI. For example, we can catch an error related to onError in the config we give to the provider with the Tanstack query. It is somewhat easy to log the error message with try catch for mutations, but I could not find a way for queries....
No description

Functions not listed in dashboard, Logs Missing

Hello. My functions do not appear in the dashboard. I can send requests from the client. env configs are correct. When I change something in the schema, it looks fine. It uploads its functions without any problems, but it does not appear on the panel. What could be the problem? I couldn't figure it out for an hour....

Convex with t3-env

Without, I set it up and it works properly, but it would be cool if you shared how you set it up, so I could compare.

Sharing logic between queries and mutations

hello, I'm having an hard time calling an internalQuery from a mutation action. Is this possibile?

SQL support

Does convex support MySQL / SQL queries

How reactive is ctx.auth.getUserIdentity?

Hi guys, is UserIdentity fully reactive?

TipTap / Live Collaboration

Hello! anyone worked with convex and TipTap text editor for live collaboration?

Attaching metadata to console.log

hello, is there a way to include automatically in logs ( preferably via console.log() ) a specific "common" value that is used afteward to debug a "session"? FOr session here i mean a set of function which are needed to complete a bigger task. Example, I have a task that requires 15 mutations and 3 action calls. In datadog/axiom and i want to "isolate" all the functions related to that specific task. Ideally i want to add the ID of this task to all the related console.log wherever they are call...

Custom bundling

I'd like to run ts-patch https://github.com/nonara/ts-patch my convex code so I can use ts compiler plugins (its compile-time only, not runtime), but you need to use tspc instead of tsc. Is it possible to tell the convex cli to run tspc?

Concurrency of useQuery calls

In a component with multiple useQuery hooks, do the web requests associated with each hook get executed in parallel? To exemplify, let's say we have a component with three useQuery hooks where each query takes 50ms to complete. Will the component wait 50ms or 150ms for the data from all three queries?

Ian Macartney

I've spent this morning reading through nearly all the Convex docs written by @ian - they are very well written and interesting to read. Great work Ian 👍 , I really appreciate this in-depth documentation. Here is the link if anyone else is curious - https://stack.convex.dev/author/ian-macartney