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

the individual database fetches?

the individual database fetches?

pagination

Hi all. I'm trying to wrap my head around pagination with convex.dev . Does the getPage helper function also support filtering the data been paginated? If not, how can I filter the data and then apply pagination? The getPage examples in the documentation only show pagination on the whole table, not a subset of its data (I hope I'm making sense).

Convex Auth with a custom domain

Hey @ballingt @sshader, any tips or guidance would be greatly appreciated 🙏

for the first time I created a public

for the first time I created a public landing page which has a simple "contacts" form to get emails. Of course it uses a Convex mutation to store the data in the database. Since the mutation is completely public and requires no authentication to get called from the client, what I am worried about is potential abuse from malitious users. How should one approach this?

`_creationTime` not guaranteed to be monotonic over time

Hi, guys, I've maybe come across a bug about convex. Please read the image.
No description

Missing changelong entry for 1.17.2

The changelog in the repo only goes up to 1.17.1

hey some one please help i've tried

hey some one please help i've tried everything
No description

How to see Convex client API calls

Have you guys noticed that api calls are not displayed in network tab? How did you guys hid it?...

Hey, is there a way to pass custom info

Hey, is there a way to pass custom info to mutation context? I'd like to return localised error messages in my mutations, but for this I need to know the current locale. What's the best way to do it?

I'm having an issue with the CLI, it's

I'm having an issue with the CLI, it's suddenly not computing types properly anyone has seem something like that? I had convex/taskActions.tsx working fine. I cloned it as taskEvents.tsx (exact same file content) and it wont load types ...
No description

Just wondering if there's some kind of

Just wondering if there's some kind of way to db.insert() uniquely ? So, the table would have unique docs & if already exist, return an error ?

loading state for mutation

Are there any examples showing a loading state (spinner) while a mutation is in progress?

Document IDs | Convex Developer Hub

Hi, 1. Can someone explain the difference between userID, _id and Id? 2. Is the userId same as _id? or does each userId has a different _id? 3. Also, the docs mention that we need to mention Id<"tasks" like const task = useQuery(api.tasks.getTask, { taskId: id as Id<"tasks"> }) to ensure that the ID belongs to the expected table, but haven’t we already declared the expected table beforehand in the query itself- “api.tasks.getTask”, so why do we need this { taskId: id as Id<"tasks"> } syntax? ...

Svelte auth

I... I don't understand the Svelte Convex-library. I don't understand how to add auth to it. Is this setConvexClientContext supposed to be exported? It is declared next to setupContext, but it isn't exported in index.d.ts. Also, the options don't expose the fetchToken-thing. Are there any full examples of auth with Svelte?

hi there. If you have 100 users in a

hi there. If you have 100 users in a chat room, and 100 messages are added, does it cost you 10,000 (GET) + 100 (POST) function calls usage? convex is one of the best stacks I've used recently, but I'm concerned about these excessive charges.

Convex is on Bluesky - let's create a Convex starter pack.

Speaking of switching apps, Convex is now on Bluesky: https://bsky.app/profile/convex.dev. Feel free to give us a follow and drop your profile in the thread. I'll make a Convex Starter pack. Also we're still on X

Getting started with SvelteKit

Hi there! started using Convex about a week ago, integrating it into a SvelteKit side-project. It was fun working with Convex and I was able to make my project work as intended. Although, setting up convex in a SvelteKit project wasn't difficult thanks to the 'Svelte Quickstart' in the docs, it took me some time as a first time user to write queries and mutation, more so, implementing them as there weren't any straightforward examples to implement them. I had to jump between the 'Svelte Quicksta...

Shared functionality patterns and authz

being honest, it feels very not ideal, as i'll need to be constantly thinking about it e.g I have a setStatus function to patch 1 field. ...

All - Bluesky Directory

hey @jamwt not sure who's in charge of social media strategy but I've recently started on bluesky and am gaining a lot of momentum. would recommend reaching out to some starter pack accounts e.g. https://blueskydirectory.com/starter-packs/all?q=web+dev as that brings a pretty steady flow of new followers.