Stripe webhooks
For the life of me I cannot verify the webhook secret on my Stripe webhook. I've tried console logging the relevant environment variables and they do match. I tried running this action in both the regular Convex runtime and the node.js runtime. I'm really lost ๐
```ts
export const verifyStripeWebhookAction = internalAction({
args: {...
Optimistic updates status
So after working with Convex for 2-3 days, I really have to shout out how little it surprises me and just does what it's supposed to. Well done! I'm already way out of porting and into optimizing. Is there any estimate on when
.withOptimisticUpdate
is out of beta and considered stable?disconnections
Hey all - seeing some really long load times and logs not really printing out in production, any systems issues going on?
Alllso if you can infer a schema from a
Alllso if you can infer a schema from a couple instantiated objects, can you also do it from a typescript typedef? Would love if there's a page in convex dev Portal where I can copy paste my typedef and get a working schema
sujayakar has demo code that does
@sujayakar has demo code that does exactly that. it's really slick, but i'm not sure if/when we would be able to ship it
depending on how many decks you have you
depending on how many decks you have, you might want to split into a separate table with a reference/relation
Can I use Convex with Qwik as of today
Can I use Convex with Qwik as of today ? Iโm switching from NextJs (App Router) to Qwik.
Just finished porting my firebase code
Just finished porting my firebase code and I ended up slashing like 200-300 lines of code in the process :squirtlesunglasses:
useQuery returns
I noticed
useQuery
from the frontend doesn't return a promise. Does it automatically hold up the execution loop until the query is done?array contains filters
How can I filter a table row for an array containing a certain value? Something like
```ts
const { subject } = id;
const orgs = await ctx.db
.query('organizations')...
New tutorial and zen of convex
convex developers, would love some feedback from you all. many of you are already ramped up now on convex's principles. but we just released a new tutorial format that tries to own this problem more head on. in the past, we helped you get a project up and running pretty quickly, but were a little lighter on details about what was going on and why ๐งต
pagination filtering
The solution to these issues (for us, users), imho, is adding an optional extra filtering ability to the
paginate
function, so we can do smth like this:
```
const response = await db.query('messages').paginate(
paginationOpts,
{...Old id format
I think a setting in the Convex Dashboard like "Legacy Ids" would be helpful simply for displaying the Id id in the table without having to open it up. I am using a pre-0.17.0 version of Convex because the breaking change with the Id object would be too risky to try to fix with the size of my codebase and I am finished with the project.
Docs for internalMutation out of date
https://docs.convex.dev/functions/internal-functions#defining-internal-functions - i think this doc might be missing something around using
internalMutation
- i'm trying to upgrade from 0.13 to 0.19 to try and get ready for 1.0 ๐