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

One-to-many relationships

I am already using a one to many relationship if I am not wrong. I have projects table and a documents table where one project can have multiple documents, so I am storing the documentIds as an array.
No description

Slow npx convex dev push time

could you let me know why it takes so long time ?

Upcoming Hackathons

Heyo, I'm curious how often you guys have hackathons? I may not make the deadline and I've been really enjoying learning convex, gonna keep practicing to come in strong for next one if I don't finish in time

TypeScript 5.4 and convex

Are there known issues with convex and typescript 5.4.2? If my vscode project is set to use 5.4.2 all my mutations and query functions come back with an error of 'create' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. But when i switch to 5.3.2 it fixes that. But im using 5.4.2 for a reason, because it allows my path aliases to work like expected in my yarn workspace project...

markdown docs

Is there a markdown version of the docs that I can feed into a GPT to train it to learn how to use Convex?

Query based on array values

Is it possible to query for teams which have the userId passed as argument? Like something similar to firebase array-contains?
No description

Custom data types

Does convex (or a third party convex lib) support custom data types in the database? For example, if I wanted to store a calendar date YYYY-MM-DD, I could store it in a string but would love for that to be converted to and from custom type at the edges of my code. I know I can "just use code", but the way the database reader works, it seems tricky to do generically AND with type safety....

Monorepo example

the example seems to have everything in the monorepo acting under one project, if im not mistaken?

non-hook queries in React

Hi is there away for us to use a non-react query in a util function in a react project?

Chat apps

hey there, im new here, i am wondering if its advisable to build a chat application (like whatsapp/telegram) using Convex. Coming from SQL background, i would understand if the messages table is inserted, it will trigger the real time update to all the users chat (which is not good??)

Restricting RAG when using LangChain

@Michal Srb I have a question about the Convex with LangChain. What’s the solution for LLM to fetch only particular documents in db when it looks for answers when asked because when I try to load a new document, the LLM still remember and able to answer if I asked about the previous document. I’m not sure if that’s how it supposed to work?

Getting a Convex ID with getUserIdentity

Hey guys can I add id field in getUserIdentity?

Generating randomness

Anyone have advice for alternatives to using "crypto" in a convex mutation to generate a randomUUID ?

Server Component reactivity

Hey all, I have a bit of a dumb question. If trying to use convex with server components in nexths you won't get the real-time update changes shown in the UI correct?

Hi, has anyone played around with users

Hi, has anyone played around with users and status indicators. I want to implement a list of users, where you can see who is online. I seek inspiration to how to accomplish. 🙂

I'm just testing an action and keep

I'm just testing an action and keep getting this error: ``` Uncaught (in promise) Error: [CONVEX A(testFn:doSomething)] [Request ID: c0AtEdp9eOvw9ecA] Server Error Uncaught Error: failed to convert header to a str...

i am having an issue, this didn't occur

i am having an issue, this didn't occur few days ago

Custom Domains

When i build a public http api using actions is there a way i can point it to a proxy domain so like myapi/v1 can point to my convex deployment? I would rather not have the raw url for my service

Schema out of sync with dashboard

Hi guys, I'm saving my schema file but nothing is in sync with my dashboard