How to create a .prisma file for each Model in a schema

i looked around to find package that does this but no luck , or at least it was not exactly what i was looking for , i found shemix however i just don't really like it i much prefer the prisma syntax rather than writing js to then be converted to prisma , what i'm looking for is a way to have each model in a prisma schema in it file kinda like graphql typedefs importing relations and stuff like that.
2 Replies
jonfanz
jonfanz7mo ago
You would need to use a third party solution for this. Prisma only supports one .prisma file
datboi667
datboi667OP7mo ago
most probably yes , but i can't seem to find one , perhapes you could suggest one ?
Want results from more Discord servers?
Add your server