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

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.

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 👀...

Optimistic update workflow

call, show something as pending, but redirect when its done? 🤔

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?
No description

Batch insertions

Hey guys, quick question - whats the best way to bulk insert documents? Im scheduling a function to run every morning that hits an api that grabs pricing on about 19k documents & have a table to store the price for that day (looking to make a historical pricing for my app) Wondering tho what is the best way to go about it.. i have internal mutations that add one doc and currently looping over all the data batched at 250 each, and using the convex-helpers asyncMap like so: ```...

Food app notifications help

I want my users to be able to receive notifications and alerts whenever an order is ready or the delivery person is nearby.....how can i do this for a web based project with either Next.js or Tanstack Start

Rust-based Auth

Out of interest. Seeing convex is rust based. Why wasn't there a native rust implementation of auth? 🤔 I suppose the choice to go with auth.js is that there are more important things to do first?

Convex YouTube Tutorials

Could someone please point me to a YouTube project/tutorial that demonstrates a complex use of Convex and advanced features like roles, notifications etc ? Would love to learn more, thank you!

Hii, I'm building a idea collaboration

Hii, I'm building a idea collaboration platform for my university and it's been reallyy smooth with Convex, thank you. On the home page, I want to show updates happening on another page (if someone has shown interest in idea/accepted as a team member etc etc). ChatGPT says to make a new table for updates and query it on homepage & show notification icon (with badges) accordingly. Is this the right way to go ?