hey guys, couldn’t find any good information on th...
# orm-help
f
hey guys, couldn’t find any good information on this. Is it possible to split the schema in separate files? I assume it’s not planned since the formatting etc. only works with the main schema file.
s
Unfortunately not. 😞
f
okay, so i will build a tool that can do this
this structure is kind of what i need, i’m working with a dal and its a pain in the but to have everything spread out 😞
shouldn’t be to bad, scan a dir for prism files. concat them into to main file with comments where it came from. format -> export back to the files with the path from the comment
b
this can be beneficial to consider other approaches (although as you mentioned, its simple) https://github.com/prisma/prisma/issues/2377