Closed ChristianIvicevic closed 11 months ago
I do plan on doing this and even started work on it in my forks, I just didn't want to do it with 0.6.5. I'll make sure the next update has it though.
@Brendonovich could you point to how multiple generators are used? there does not seem to be an option such as prisma generate --generator client1
that the npm version of prisma has.
Currently I have resorted to commenting out the second generator when I need to run cargo prisma generate
.
@jareducherek use main
instead of 0.6, 0.7 isn't out yet
Unfortunately GitHub isn't really happy about me having a customized fork so I can't fork the repo again to contribute a PR myself. However I'd be happy if you can upgrade the CLI to v4.10 which enables the new
--generator
flag to selectively generate files which is useful to separate jobs in CIs in mixed monorepo codebases.