Closed tbillington closed 1 year ago
Derives Clone for the generated PrismaClient. PrismaClients only field implements Clone so this seems pretty uncontroversial.
Clone
PrismaClient
Rationale is to share access to the database with different parts of the program without wrapping in Arc.
Arc
I'd rather encourage people to Arc their clients, since PrismaClientInternals already contains multiple Arcs
PrismaClientInternals
Derives
Clone
for the generatedPrismaClient
.PrismaClient
s only field implementsClone
so this seems pretty uncontroversial.Rationale is to share access to the database with different parts of the program without wrapping in
Arc
.