error while querying "Converting circular structure to JSON"
whenever i do a query on driver table, it just gives me following error
please run this container to see error in detail https://drizzle.run/t4x4te3roxu31a7vp8b1a7mq
Drizzle Run
New starter 01 playground - Drizzle Run
2 Replies
https://github.com/rphlmr/drizzle-run/releases/tag/v0.5.0
I found the root cause: everything that is not serializable will throw this error. I will try to come back on this later
GitHub
Release v0.5.0 · rphlmr/drizzle-run
What's Changed
Hey 👋 some new things for this release!
Goodies in Schema
(#20) You can now use $.faker for $default and $defaultFn
name: text("name")
.notNull()
.$defaultFn(...
thanks @Raphaël M (@rphlmr) ⚡ , maybe throw this error on drizzle-orm packagae too.