swift client
Hi Convex!
I discovered your company a week ago and I love what you’re trying to achieve. I slowly started to learn Swift last year and thought Convex would be a perfect fit to build iOS applications and other
Apple devices
applications, you already have ReactNative but I think Convex could interest Swift developer, so I started to write a Swift client for Convex, for now It’s not “reactive” but I’ll implement WebSockets in the coming days, if you want to check it out: https://github.com/MathieuTricoire/SwiftConvex I also wrote a very very simple iOS app with it as a demo: https://github.com/MathieuTricoire/ConvexChatAppDemo...And a lesser issue I m noticing that
And a lesser issue -- I'm noticing that when I run
codegen
or dev
it warns No TypeScript binary found, so skipping typecheck.
, however, I do have the binary and running tsc
from the same terminal works fine.Also having an issue introducing ` clerk
Also having an issue introducing
@clerk/backend
lib to my app as it depends on node-fetch-native
.
```
Error: Unable to push deployment config to https://acoustic-pelican-966.convex.cloud
✖ Waiting for all table indexes to be backfilled......I m running into an issue with the new
I'm running into an issue with the new cron job architecture.
The function I wish to invoke from my cron job is one that I wish to be protected by an internal api key so it cant be invoked by clients, as its secret-protected.
My api key is stored in environment variables via convex secret manager. There doesnt seem to be away for me to access this data in order to populate the needed api key arg for my function as cron jobs are registered at import time, when env vars arent available....
Clerk
@Gorka Cesium @allen @RJ we have a Clerk+Convex React component as of 0.12.0. Interested if it is a drop-in replacement for what you did yourselves. https://docs.convex.dev/auth/clerk
Support channel visibility
That doesn't show up by default in my channels list, FYI! Maybe there's a way to make it so it does?
I m having trouble directing requesting
I'm having trouble directing requesting a snapshot export of my deployment. Probably because my dataset is too large? Could someone from convex help me out? Here's the error message.

Scalability
What's the mental model I should have for scalability of Convex? e.g. is it more akin to single node postgres, postgres with read replicas, postgres with redis cache, dynamodb, spanner? Perhaps this is documented?
Complex Filtering
I'm a bit confused on how i should go about conditionally filtering my queries and filtering entries in general.
I have a table with two fields by which I want to filter the results. But the args i provide in the query function are optional.
Let's take the field "map" because that's the easiest to filter out of the two...

Is it possible that adding a second
Is it possible that adding a second subscription to a query with the same parameters won't get an immediate callback with the last value?
Adding `_id` to inferred types
I'm happilly using the Infer type which I love. but it doesn't include an id field (as it might not have one) is there a recommended way to add an id property to an infer'ed type
Hey I m a long time Firebase dev I ve
Hey, I'm a long time Firebase dev. I've been bouncing around other "Realtime" databases this year trying out Supabase and Pocketbase. Today I found Convex and it really intrigues me.
1) Does a query function that returns cached value count as a function call (for billing purposes)?
2) Is there any local caching? Currently I'm storing all state data in one parent ContextProvider. Descendant components access data using useContext() hooks. Is this the recommended strategy for Convex or does local caching mean each child component uses useQuery() directly?...
Accessing env variables + TS errors
When trying to access an environment variable in a Convex action (per https://docs.convex.dev/using/environment-variables#accessing-environment-variables), TypeScript complains that it doesn't know what
process
is:
Cannot find name 'process'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. (tsserver 2591)
I see in Convex's tsconfig.json
the following:...