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

Convex with Remix 💿

I've just hooked up Convex to a 💿 Remix app (woohoo!), and ran into one small hiccup—Convex seems to think Remix is using Vite (probably because Remix uses esbuild, which Vite also uses), so every time I run npx convex dev, it asks me if I want to ? Create a .env.local file and add VITE_CONVEX_URL to save dev URL? (Y/n) . This is annoying because I have to turn it down every time I run that command, and also because running npx convex dev with concurrently (i.e. non-interactively) then...

I think I don t see logs from the

I think I don't see logs from the actions that run through the scheduler....

Long-running actions

I need to run an action for more then 30 seconds. What are my options?

Is there a way to view my spent quota

Is there a way to view my spent quota?

Third party packages in Convex function

Hi, Can I use npm to install and use third party libraries in convex directory? I have tried but it seems not working.

I m trying to curl my http endpoint

I'm trying to curl my http endpoint, getting
This Convex deployment does not have HTTP endpoints enabled.%
This Convex deployment does not have HTTP endpoints enabled.%
...

Ok so more stupid problems from me 😅

Ok so more stupid problems from me 😅 I want to have two for-loops in a sense: one loops over the entity I call "generation" and the second one loops over "images" inside the "generation". I'm trying to do both things with useQuery , in the second case I'm using results of the first one.... and react doesn't like that!...

I have a really stupid problem that I

I have a really stupid problem that I cannot solve in the last hour. I'm trying to use result of image mutation in another action Here is the mutation...

Document creation type

What's the correct way to re-use my schema elements in the functions? I'm trying to use them as is and for example insert them, but running into problems that there are also _id, _creationTime fields, that I'd like to auto-populate. Concretely here is a mutation I'd like to call ```...

Using the same Convex deployment for 2 different projects

howdy friends! been a while 🙂 question - is there any recommendations for using the same convex deployments for 2 different projects? i.e. a nextjs UI and a nodejs daemon

Small newbie docs feedback I d add a

Small newbie docs feedback. I'd add a "Action functions" subsection to https://docs.convex.dev/tutorial/how-it-works. For some reason I thought functions meant queries/mutations only and were different than actions. This was confusing me when reading about scheduling functions.

I m hitting an issue where Jest tests in

I'm hitting an issue where Jest tests in Node.js of ConvexHttpClient seem generate an error "You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/ecmascript-modules." Following those instructions does allow tests to run, but then it appears to cause random segfaults. Before going down the ESM rabbit hole, does this ring a bell? I'd like to avoid setting NODE experimental flags.

Schema / Types things

I would like to know which would be the ideal pattern to type a schema in convex so it plays well with a typed language like TS or Rescript. My original idea would be to write the schema, for example: ```gql...

HTTP API

Question (sorry if I miss something obvious in the documentation again): is it possible to expose an action or mutation as an API endpoint that I can call programmatically? Let's say that I have a really long running task that runs on a different backend and I don't want to await on it from the action . I found API for Airbyte https://docs.convex.dev/http-api/ is that my best bet?

Storage limits

What is the file size limit for File Storage? https://docs.convex.dev/using/file-storage...

Actions in dashboard

One question: I can see that mutations and queries are synced properly (I can see the code that I edit locally synced to the web). But the action code is not --- it's just some generic boilerplate with a lot of comments. While I know from logs and just behavior of the app that it did change. Is that something known?

speed of development

Played more with firebase and Convex today. One observation: convex actions deployment is instant compare to couple minutes of firebase (gcp) cloud functions. This is so cool. Very fast debugging cycle. Nice job....

How is this startup’s funding situation

How is this startup’s funding situation? Do you guys have a long runway? Just wondering which is the risk if I switch to Convex

Checking auth with decorators

This is great, thank you for the reference! Question about that -- why do this middle-ware magic instead of simple function call like ``` async function checkAuth({db, auth}) { const identity = await auth.getUserIdentity(); if (!identity) {...