Sign in

Angel Chen ▄ ▀

@ideosyncretic.com
42 followers 94 following 13 posts

Web dev, design, UI/UX • Currently indie-hacking promptbible.ai with @andric.dev • LLMs ∩ tools for thought • Previously built ops admin tools at startups

PostsRepliesMedia
Angel Chen ▄ ▀ @ideosyncretic.com · 29/05/2025
This was mine. It depends on what you’ve previously engaged with or marked as irrelevant
040
Angel Chen ▄ ▀ @ideosyncretic.com · 07/11/2024
Fields that are not JSON-compatible get silently excluded from @inngest.com function output: e.g. BigInt, which is how we save Clerk's UNIX millisecond timestamps in @prisma.io. So I serialize query results with a customized JSON.stringify() (thanks @prisma.io docs!), then parse back to object.
Code snippet showing the customized JSON.stringify() and JSON.parse(), which serializes all fields in Prisma's returned object to JSON compatible values that Inngest will return
000
Angel Chen ▄ ▀ @ideosyncretic.com · 07/11/2024
We used the new @inngest.com test helper library together with @vitest.dev, works smoothly so far! ✨ github.com/inngest/inng... (clerkDeletedAt is our own tombstone flag using event timestamp as proxy—doesn't actually exist on Clerk because the whole record gets deleted there) #buildinpublic
262