I was wondering if someone knows of an
I was wondering if someone knows of an example chat app using convex that uses cursor-based pagination for loading the messages.
I did some searching on GitHub but didn't find it....
No TypeScript binary found, so skipping typecheck
Yeah after referring to https://github.com/get-convex/convex-js/blob/68a31e140028e414447eba72ca89d889a17d8428/src/cli/lib/typecheck.ts#L100 , it indeed is not finding typescript. Looks like I didn't have typescript as a dev dependency. After adding it, it worked properly.
My recommendations:
- I based my monorepo on the get-convex template: https://github.com/get-convex/turbo-expo-nextjs-clerk-convex-monorepo/blob/main/packages/backend/package.json . It does not have typescript as a dependency in the backend package, which I believe is how the error got propagated. I'll open a pull request for that.
- convex-cli should warn the user that tsc failed when typecheck is in 'try' mode. Otherwise you might get a false sense that your code has no errors....
Using Twitter with Convex Auth
I'm wondering how caching works for sub queries. I have a queryWithSession query - if I have a general query inside this one will that be cached? Or is it only the parent queries that get cached?
was anyone schema upload not working
was anyone schema upload not working this morning?
Filter size limit
const documents = posts.slice(0, 50);
console.log(JSON.stringify(documents).length); // 37472
await client.mutation(api.tasks.upsertPost, { documents });
const documents = posts.slice(0, 50);
console.log(JSON.stringify(documents).length); // 37472
await client.mutation(api.tasks.upsertPost, { documents });
Args
Hi, could someone please guide me on this ?
I need to check if the arg I have received is a Id< > or text. if it's text, i create a new one. if it's Id, I do nothing.
Is there a way to check if arg is a Id ?
thank you...
Local Deployments for Development vs Self-hosted
What is the difference between Local Deployments for Development (https://docs.convex.dev/cli/local-deployments) and self-hosted in local machine when comes to local development?
Convex Email Auth
when using convex-auth is there a way to send more details about the user while authenticating them?
fine-grained caching
Hey, Lets say we have Twitter like system with messages and likes of messages. Do I understand it right that getMessages paginated query would completely wipe it's cache once any message like count changes and refresh all messages instead of only this one?
I think this is very important problem that's there is no caching control for developers....
anyone knows why I might be getting a
anyone knows why I might be getting a WebSocket connection error to my local domain? In Convex => Custom domains my domain seems verified correctly
convex/eleven labs, weird caching issue
hi team, idk if this is on convex
i got "use node" at the top
im using the eleven labs sdk to generate voices...
I believe same thing is happening with
I believe same thing is happening with me here, issues on my dashboard and this logging on my projects:
WebSocket closed with code 1006
WebSocket error: undefined
...
reports of blocked access
Just to confirm what @jamwt is saying above, we don't see reproducible Convex issues on our end and are able to access the backends/applications in question but it's very possible there is some flagging going on with a particular ISP. We're actively investigating. Let me know in-thread if anyone is seeing similar issues
.convex.cloud domain names getting blocked
hi everyone. we'll follow up with a report. we don't see any widespread issues, but one possibility that it looks like may be happening here is these abuse protection denylists might have blocked a few *.convex.cloud domains. this continues to be an... interesting process of wackamole we keep running into
Indexing Objects / Arrays
Hey everyone,
Iβm curious about the benefits that object and array types bring to web applications. In my opinion, one purpose of using these types is to store data in the schema that isnβt directly displayed to users. However, one downside is that you canβt index object or array types....
Why no _updatedTime
I'm curious why
_creationTime
is a default column for every table but not something like _updatedTime
. Finding myself adding updatedAt: Date.now()
as an arg in lots of mutationsConvex Better Auth
Hey I'm setting up a complex auth situation and stumbled across: https://github.com/ping-maxwell/convex-better-auth which solves my problem of crazy pricing and 3rd party data storage with clerk, but there's several drawbacks mentioned in the repo. I already have a template set up with convex auth, but as I'll need to support organizations for my app, I know that I'll need to eventually move to something like this or host my own auth with something a bit more vanilla like neon or planetscale. I'...