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

Dark mode beta

We're shipping dark mode for the Convex dashboard soon! React to this message if you'd like early access and I'll reach out when it's available

Convex and Open Source plans

Convex and Open Source plans...

I was looking to get started with Convex

I was looking to get started with Convex to have realtime feeds on our app. I see in the pricing that the free plan says it includes "5,000,000 Monthly function calls". Does that mean 5,000,000 concurrent connections? I have not see it worded as monthly function calls so trying to see how many concurrent connections the plans offer.

Bad magic good magic and so on

Bad magic good magic and so on...

Characters in GenericId

https://docs.convex.dev/api/classes/values.GenericId#id
This contains the characters [0-9A-Za-z].
This contains the characters [0-9A-Za-z].
...

Diff between Materialize and Convex

https://stack.convex.dev/infra-roundtable I was watching this video, quite amazing. Just curious, how do you guys compare convex to products that are branded as streaming databases such as materialize, or risingwave. I am more curious from the technical perspective because I know the use cases differ a lot.

Jwt claim fields passthrough

Can I get access to fields that are in jwt claim (for example, I want to pass org_id to the clerk generated jwt token) but not in interface UserIdentity (as in openai)?

end to end typing

Does convex support generating types for input / output of the cloud function that can be directly plugged in react/typescript?

Schema types: is loose really ok?

Regarding this page on dynamic schemas: https://docs.convex.dev/database/advanced/schema-philosophy Let's say I have a table called variables with fields name, type, and value, and each entry can either be an integer, string, or boolean. Is there any downside to just storing the value field with different types? For example: { name: "foo", type: "int", value: 1234 }...

Custom Auth (for ATprotocol)

hihi! trying to implement a custom auth provider, and for some reason isAuthenticated is false even tho in my useAuthFromProviderX function (and my auth provider) it's true noticed this in the Clerk & Auth0 doc pages but not the Custom auth provider page - do I potentially need to add something to convex.json?
Debugging authentication If a user goes through the Auth0 login flow successfully, and after being redirected back to your page useConvexAuth gives isAuthenticated: false, it's possible that your backend isn't correctly configured....

Convex 1.0

When will convex reach 1.0? What breaking changes should we expect before that

ConvexProvider auth hook

An idea, maybe <ConvexProviderWithClerk /> could take an optional function as a prop that defines how to copy Clerk data into Convex? Kind of like folding my useStoreUser() hook into <ConvexProviderWithClerk />. Oh well, just an idea.

RLS

Will convex support RLS in the future?

Just upgraded to 0 13 super excited to

Just upgraded to 0.13 - super excited to have named instead of positional arguments for my functions. Makes it a lot cleaner to augment my functions with additional parameters, like session/auth stuff

Migrating to 0.13.0

Hey folks, if you are updating your apps to 0.13.0, reach out if you hit any snags or want help understanding any of the changes. I'll open this as a thread. Hopefully it's smooth sailing ⛵️

Authorization header in HTTP endpoints

We are using Convex for the backend, and we are exposing a couple of http endpoints. We need to be able to support sending the Authorization header (in the format of Authorization: Bearer <api token>) to our backend. We did not have any success with sending/extracting the <api token> header in our backend. Please see the below code snippet; the authHeader is null. ``` const myEndpoint = httpEndpoint(async ({ runAction, runQuery }, request) => { const authHeader = request.headers.get("Authorization"); //authHeader is null ......

Limit & Offset Pagination

Hi team, I am wondering if there is a {take: number, skip: number} (basically the number of elements per page, and the start index where the query starts like here https://www.howtographql.com/typescript-helix/10-filtering-pagination-and-sorting/) API for handling the pagination without cursor? If not, what is the best way for me hack into this? Thanks!

I m doing the next js quickstart and

I'm doing the next.js quickstart, and whenever I do npm run dev it executes and then terminates and nothing happens. I'm kind of confused because I copied literally everything exactly yet nothing really happens so if someone could help out that would be great 🙂

Any known issues right now with

Any known issues right now with executing functions from the admin console?

Hey Started using Convex over the

Hey! Started using Convex over the weekend and I'm running into some issues with using search indexing. Looks like it's still doing exact matches even though I did the following. Am I missing something? Thanks! `export default defineSchema({ tableName: defineTable({ first: s.string(),...