JayPe
JayPe
PPrisma
Created by JayPe on 6/10/2024 in #help-and-questions
Multiple schema - node_modules - prisma client
@David , thanks, I prefer to have it in my service folder under prisma folder, to ease the readability for new dev coming in the project and who does not know how prisma works
8 replies
PPrisma
Created by JayPe on 6/10/2024 in #help-and-questions
Multiple schema - node_modules - prisma client
like this It works like a charm
8 replies
PPrisma
Created by JayPe on 6/10/2024 in #help-and-questions
Multiple schema - node_modules - prisma client
So the generated code is now stored in each "service" folder, and just added a git ignore
8 replies
PPrisma
Created by JayPe on 6/10/2024 in #help-and-questions
Multiple schema - node_modules - prisma client
Well, I just found a solution !!! In each schema.prisma file, I added the following
output = "generated/client"
output = "generated/client"
generator client {
provider = "prisma-client-js"
output = "generated/client"
}
generator client {
provider = "prisma-client-js"
output = "generated/client"
}
8 replies