Unions of literals / Enums
Has there been any consideration to supporting enums in the schema data types? I'm referring to enum in a very loose sense here -- basically type safety that a field will have a particular value.
Eg:
```js
type MySupportedValues = 'this' | 'that';...
Are frequent websocket errors of
Are frequent websocket errors of
WebSocket closed unexpectedly with code 1001: Stream end encountered
expected behavior? It seems to reconnect and reauthenticate fine, but it happens quite often and adds a lot of noise to the ReactNative DX as it throws an error toast on the screen.useQuery types are `never`
i don't even know how to explain this, why are all the types in useQuery
never
?
I just added convex to an existing react typescript project
is there something else i'm supposed to do before i start using convex functions in /convex
?
...
I m unable to open a table in the
I'm unable to open a table in the dashboard (besides the default table that view loads with), clicking on the table names gives me this in the console. I tried logging out and logging back in. Let me know if I should try clearing cache. Thanks!

Curious if you just did a deploy If so
Curious if you just did a deploy. If so, you may have some downtime between release availability.
Full text search is live fyi allen 1095
Full text search is live! fyi @allen @Gorka Cesium @zorkian @RJ: I know you all have been interested in updates on that front.
watcher behavior
It appears that when running
convex dev
, the file watcher does not step into shared helpers that are imported. I had an action that was importing a util. Was confused when making changes to this dep by adding logging, I was not seeing those logs in the convex admin. Not until I touched the action file that imported the dep did the function push occur.There are indeed things in the works for
There are indeed things in the works for Next.js and server-side rendering, but for right now calling
convexToJson()
(imported from 'convex/values'
) on the query result to get something JSON-serializable is the ticket.Convex for SSR
I'm looking to use
convexHttpClient
for SSR in a Next.JS app. The query
I'm executing returns documents. Is there a best practice on serializing and rehydrating this response between server/client? Right now, Next is barfing on handling the Id
fields when passing the Convex query response to props
in getServerSideProps
.
I understand I could manually do Id.toString()
on each instance in the query response, but this adds a lot of object manipulation and spec'ing, rather than just passing around an instance of the Convex api typing.
I saw the note in the Next integration docs of "We are investigating ways to combine Next.js server-side rendering with end-to-end reactivity. Stay tuned!" Any progress here?...Debounce action from mutation
Is it possible to debounce an action from a mutation?
I have a use case where I'm using Convex to sync information from a text editor on the frontend (Tiptap). I'm using mutations to update the database with the current state of the text editor (using single flight) and I'm calling
scheduler.runAfter(0, "actions/some-api-call")
at the end of those mutations.
This works, but since there is a ($) cost to each run of the some-api-call
action, I'd like to debounce it, but haven't found a way to do this without putting the debounce on the client-side. Any thoughts?...any types
I seem to have broken my api typings today. I'm not quite sure what did it exactly. I was just refactoring my function file structure, and suddenly all of my
useQuery
, useMutation
, etc react helpers now return types of any
. I've tried rerunning codegen
, upgrading the convex cli, deleting all node_modules and re-installing -- even reverting my refactoring changes. Nothing seems to get back to having end-to-end type safety. I get the same behavior in webstorm and vscode.
Unsure of how to get back to a happy place. Any tips?...
Static IPs
Checked the docs on this: is there a static IP available associated with Convex action functions? For whitelisting the outbound requests from Convex to 3rd party via API keys
Circular type references
I'm getting circular type references. I imagine it's my fault. It's always my fault:
...
Type of property '"queries/addQuery"' circularly references itself in mapped type 'NameModule<"queries/addQuery", typeof import("/Users/sethraphael/Projects/siteguideai/convex/queries/addQuery")>'.
Type of property '"queries/addQuery"' circularly references itself in mapped type 'NameModule<"queries/addQuery", typeof import("/Users/sethraphael/Projects/siteguideai/convex/queries/addQuery")>'.
No inputs found
hey! I'm adding convex to an existing project & after running
npx convex dev
i got this error
Preparing Convex functions... error TS18003: No inputs were found in config file '/Users/yli/code/yaig-bot-test/convex/tsconfig.json'. Specified 'include' paths were '["./**/*"]' and 'exclude' paths were '["./_generated","./actions"]'.It was a bit of a head scratcher since tsconfig was generated under /convex? 🤔 would appreciate any insights here!...
Persisting business logic params in the DB
Is there any best practice on how to save rules in a database? For example i would like to save the rules on how to calculate the profit margin of a window. The default profit would be 50% . If it is big dimensions them it would be 70%. This is a simple case but how could i persist this in a DB? I would like to be able to swap this rules when doing quote estimates since i need to respect the prices of old quotes when they just need slight modifications.
Kind of random but anyone wants to play
Kind of random, but anyone wants to play a card game I built with convex? https://bluff-three.vercel.app/ (we need 3 people total at least)
0.9.2 Release
New release out: 0.9.2
- You can now go from your schema types to typescript types more granularly than just
Document<TableName>
with our Infer
type
- You can now add .order
after .filter
when querying the database (it used to need to go before)
- You can access the backend's api and http urls from functions: CONVEX_SITE_URL
and CONVEX_CLOUD_URL
and more! ...Looking into the Airbyte integration
Looking into the Airbyte integration this morning, and it doesn't appear as a supported connector from the dashboard. Wondering if this is something the Convex team manages via Airbyte or if I should reach out to them directly.

Hey is it possible to get the timeout
Hey, is it possible to get the timeout for my HTTPS endpoints increased? The endpoint calls a GPT model and takes a little while to execute. This is critical to get my product working. I actually had it increased earlier for Treehacks but I think it got set back.