Yiming Cao
Yiming Cao
> Note: could be related to #21469 🤔 Maybe this is related to `author` being an optional relation on your Post model. > > @ymc9 We would need to reproduce...
Thank you for the fix @clementoriol ! Yes, Prisma's doc is a bit fuzzy about function details. I like that we can tweak to provide better flexibility. The change looks...
Hi @bogsen , I think from an OO perspective, fields from sub-types shouldn't be directly visible from base type. I'm interested in knowing your real use case here. I haven't...
Thanks for the clarification. I understand it's useful to have access to fields of concrete types. I'm thinking if it's only for 'auth' or should generally work for all contexts...
Yes, right now the LSP resides in the same package as the CLI and VSCode extension, which doesn't make much sense. I hope we can address it in V2. Btw,...
Hi @levipro , I've implemented it and would like to see how well it'll solve your problem. The tricky part is, given a whitelist of models to generate Zod schema...
> When I do run prismas introspection on my database it creates quite a large schema file. I certainly have a few hub models throughout as well. > > I...
Got it. I believe it's due to the transitive closure, as we discussed previously ... I think it's possible to exclude relation - a bit more work to do. I'm...
Probably a real solution is to infer zod schemas instead of generating them.
> we got this error > > ``` > import { ZenStackMiddleware } from "@zenstackhq/server/express"; > ^ > > SyntaxError: The requested module '@zenstackhq/server/express' does not provide an export named...