Hi All, does anyone have a good example of how to ...
# orm-help
d
Hi All, does anyone have a good example of how to use Prisma in clean architecture setup? Specifically I am not sure how to make use of the types generated from the
prisma.schema
- how would one pull those in as deps to other modules, so as not to keep defining the same types on a bunch of interfaces.
And not to create any circular deps!
r
Are you using a monorepo?
d
App & server, yes we are.
r
Adding a module from the package that has
@prisma/client
and exporting all the types should work. That would make it available in all modules.