chrishoermann

Results 58 comments of chrishoermann

I replaced the types in `makeSchemas` `mapping` property - works perfectly: ```typescript export const schema = makeSchema({ // ... rest of makeSchema config mapping: { //...all custom scalars SortOrder: 'prisma.Prisma.SortOrder',...

I'm late to the show but this should be possible with my [zod-prisma-types](https://www.npmjs.com/package/zod-prisma-types) generator.

I'm late to the show but I just published a similar generator ([zod-prisma-types](https://www.npmjs.com/package/zod-prisma-types)) that lets you define in which environment it should be run.

having the same issue when revalidating the color of a theme. the theme provider is in the root layout of a `[domain]` path. everything works fine on the `/` route...

I found a reddit thread that mentioned a similar issue where `export const dynamic = "auto"` fixed the issue. This also worked in my case: here's the thread https://www.reddit.com/r/nextjs/comments/14iu6td/revalidatepath_not_updating_generatestaticparams/ Edit:...

@lmounsey yeah I noticed the same 😞 @Javad9s you'r right, its not generally about `generateStaticParams()` but to my understanding this should be equivalent to `const dynamic = "force-static" / "error"...

any news on this one? Is it confirmed as a bug yet?

I currently have the same requirement and had no luck with radix-theme yet - see #379

same here - none of the above mentioned fixes helped

Inspired by @omar-dulaimi and his `prisma-zod-generator` and the custom validation options of `zod-prisma` by @CarterGrimmeisen I decided to take my own shot on this topic which resulted in my [zod-prisma-types](https://www.npmjs.com/package/zod-prisma-types)...