My current project has the following structure:
dashboard
-- prisma-project-1
-- prisma-project-2
-- client-of-prisma-project-1-and-prisma-project-2
This dashboard is designed to merge data from two separate databases and display them in a meaningful way.
I am encountering an issue when importing clients from prisma-project-1
and prisma-project-2
into
client-of-prisma-project-1-and-prisma-project-2
.
Whenever I import prisma clients from prisma-project-1
in
client-of-prisma-project-1-and-prisma-project-2
, the types seem to be from prisma-project-2
.
How can I successfully import prisma clients from both prisma-project-1
and prisma-project-2
into
client-of-prisma-project-1-and-prisma-project-2
without their types conflicting with each other?