Yiming Cao

Results 248 comments of Yiming Cao

I checked the "prisma-client" generation structure; some refactoring is needed to support it, but I think it's doable. However, I'm inclined to start the work when Prisma moves this new...

ZenStack still uses its own "import" syntax in the ZModel schema. It should be equivalent to Prisma's schema merging, just with a more explicit syntax (and more control).

Hi @k-ahlawat , this error looks familiar but I couldn't reproduce it with a trpc project at hand (trpc 11 + pnpm). Do you have a sharable repro project? Thanks!

Hi @sarioglu , I understand it's not ideal, but feel that over all it's worth the reduced bundle size. A workaround could be use the string constructor? ```ts new Prisma.Decimal(someDecimalComingFromZenstack?.toString()...

Hi @eleazareramos , thanks for filing this. Could you share more details about "I had a slight regex error in a data-level validation attribute."? Thanks!

Closing for now and will reopen when a repro is available.

Hi @Izag-Larm , just to confirm, do you have any regex validation patterns in the ZModel? We recently discovered an issue that invalid regex patterns can cause the "enhance function...

Thanks for the comments. Does anyone have a sharable repro project?

I made a few tries with node 20.19.0 as @sslotnick indicated: - `tsx` ran into the issue, @sslotnick 's workaround worked for me - Nuxt ran into the issue as...