Have you had a chance to explore `better
Have you had a chance to explore
better-auth
yet?
I'm using this adapter @better-auth-kit/convex
and its instructions (https://www.better-auth-kit.com/docs/adapters/convex, https://github.com/ping-maxwell/better-auth-kit/tree/main/packages/adapters/convex)
and these instructions too https://www.better-auth.com/docs/installation...seeding a project
What would be the best way to seed a project? Currently running against read and write limits. I want to 1) purge an entire table, then 2) insert a lot rows. Is there anything better than 1) paginate to get all
_ids
and remove and for 2) create internal mutations for batches?sending a bill on purchase
Do you guys know if I purchase convex, will they send a bill to my address?
Streaming more than text
Working with the
get-convex
persistent-text-streaming
has been great, would appreciate some advice on handling non-text chunk appending. https://github.com/get-convex/persistent-text-streaming/blob/6c14033c16871f71fb27457c59ab1c227444999b/src/react/index.ts#L10C1-L12C2
Currently it's very straightforward to add basic chat via this component, however, when considering streaming the current state of generation for things like tool calls (eg. web browsing) it's not as clear how to handle.
Are there plans to include more robust support different types of objects that could be streamed to the client, rather than just text? Or is there recommended way to handle this with the current component?...zod issue
Hello, this is really nice however we are getting this error when we need to return an array :
```ts
export const getAll = zodQuery({
returns: z.array(z.object(situationFields)),...
Anyone know a good npm library for
Anyone know a good npm library for cropping images in Convex action functions? keep running into errors with the usual suspects (sharp lib)
Remix support
Is there much support for remix? Loading data on server side and such?
Just wondering whether I should go with Next.js or Remix. Wanted to try out Convex for the first time...
yep most likely it is, there is no way
yep most likely it is, there is no way to throw an exception then?
i dont understand why Date.now() is
i dont understand why Date.now() is causing error in one internal query but not in another
Convex Storage and Cost
Do you think I will be banned from this server because of my recent article on Dev.to about Convex Storage? I tried to be honest, and there is nothing wrong with Convex' pricing, it was just not the right fit (entirely) for my project. 😦 https://dev.to/kisszoltan/how-i-cut-my-mvps-operation-costs-by-76-and-why-you-shouldnt-do-that-1df9
Hi All,
Hi All,
I would appreciate help on best practices how to do a paginate & join query or a preferred way to query efficiently, avoid unnecessary filtering and calls to loadMore on the frontend. I'm trying not to use collect() even when querying with indexes since I want to stuff to continue to scale.
I'm not tied to this design but I have 3 tables where...
On my big mutations that might do 3
On my big mutations that might do 3 changes to one record, why does the dashboard appear to show the individual updates, is that just more of a rendering thing?
Anyone face this bug when trying to push
Anyone face this bug when trying to push changes to convex
✖ Error: Unable to push deployment config to https://giddy-hyena-745.convex.cloud
✖ Error fetching POST https://giddy-hyena-745.convex.cloud/api/push_config 400 Bad Request: Error: Hit an error while pushing:...
Zod with TypeScript for Server-side Vali...
In the latest
convex-helpers
you can now use the zod
helpers to specify a returns
on zCustom*
functions that will also do Convex validation, and thereby generate types when you generate the API.
You can now generate Convex validators from zod validators both to generate a Convex validator that matches the input to the zod validator, as well as one that matches the output of the zod validator. The former is useful for generating a Convex schema if you run zod validation after reading from the database, the latter is useful for generating a Convex schema based on a Zod validator that you run before you insert into the database. I updated the Stack post to match....499 errors
Anyone having time out issues or is it just me? I have a connection with Anthropic that was working fine the past 3 months, now I get 499 error.
vendor lock-in
Hi! I’m really impressed with this project—it looks very promising! That said, I wanted to ask about vendor lock-in, specifically in terms of ease of migration. I’ve seen cases like Realm, where transitioning away became quite challenging. How does this project approach that concern?
I had a Github Action working with a
I had a Github Action working with a CONVEX_DEPLOY_KEY (preview deployments) 10 days ago.
Now the same github action fails at
npx convex codegen
with
```
Please set CONVEX_DEPLOY_KEY to a new key which you can find on your Convex dashboard....From my perspective this is technically
From my perspective this is technically easy to do with Convex, but I think because of how Convex does pricing, this is somewhat prohibitively expensive, so I am thinking of using SpacetimeDB for this use-case. I might be wrong about this, it not really being expensive at all, But seeing how they code around cases with lower data throughput such as LLM-streaming, just storing tiny data payloads seems to be penalized somewhat under the current pricing model. I would love to be corrected on this.
Create live cursors in Bubble using the ...
What is the best way to do multiplayer live cursors? A common use case is collaborating on documents like google docs, whiteboard / figma multi user canvas, or video games. One of the early Phoenix LiveView demos was a multi user video game. Something like LiveBlocks Cursors:
https://youtu.be/SnChHasU6Hg?t=211
Or the Supabase live cursor demo: https://www.youtube.com/watch?v=QhRNXlFLaeE...