hi, i started with prisma in a few day and i reali...
# orm-help
n
hi, i started with prisma in a few day and i realized that all the prisma model is in a file. Is there any way to support for splitting prisma model into multiple file?
1
j
Unfortunately, Prisma does not officially support this functionality
n
Does prisma not support for spiltting prisma model into multiple file?
r
Hi @nguyễn thiện 👋 We currently have this feature on the roadmap as can be seen here. However, you could use third party tools like the one Jarupong shared or you could also use this other third party tool
n
@Jarupong Thanks for your advise. can you hint to me some way to use relationship into prismerge Because i use model users in a file and model roles in a file. But they got error and i can’t find anything to resolve them.
d
Hi @nguyễn thiện! For full transparency, I'm the maintainer of Prisma Util. Prisma Util (the tool recommended by @Raphael Etim) supports relations and helps you resolve name conflicts across files. Let me know how it works for you!