PrismaP
Prisma6mo ago
4 replies
Marek Urbanowicz

Multi schema with files next to code? (Per module)

Hey
I really like the fact Prisma allows to split schemas now, but putting all into single folder isn’t perfect.
Is there any way to be able to put each module schema next to its code to make it easier to maintain and develop?

Like having base schema in root/prisma, but then have eg root/src/users/user.prisma, root/src/tasks/task.prisma etc?
Was this page helpful?