opengb icon indicating copy to clipboard operation
opengb copied to clipboard

Figure out how to cleanly re-export Prisma namespace

Open NathanFlurry opened this issue 1 year ago • 1 comments

We currently export prisma (which holds the types) and Prisma (which holds the utility functions).

To reference a type, you need to use primsa.Prisma.XXXXGetPayload while to use a utility function, you need to use Prisma.xxxx.

Ideally it's just Prisma for both types and utils

NathanFlurry avatar Feb 19 '24 07:02 NathanFlurry