m1212e / prismabox

typebox schema generator for prisma
MIT License
38 stars 7 forks source link

Support Prisma Select, Include and OrderBy #18

Closed fortezhuo closed 2 months ago

fortezhuo commented 2 months ago

Any workaround for support generate typesafe for prisma select, include and orderBy with relation ?

m1212e commented 2 months ago

No currently this is not supported by prismabox since I actually never used that myself but I guess that would make sense to implement. Would you be interested in opening a PR? I could take some time throughout the next weeks to tackle this. Let me know if you'd be interested!

fortezhuo commented 2 months ago

Yes. I have opened a PR. please review : https://github.com/m1212e/prismabox/pull/19

fortezhuo commented 2 months ago

Closed. Already implemented 1.1.14