Skip to content

v2.5.0

Compare
Choose a tag to compare
@AhmedElywa AhmedElywa released this 20 Oct 09:32

PrismaSelect

breaking changes

In this release, we changed the second arg in the PrismaSelect class and removed the third arg.

was

const select = new PrismaSelect(info, defaultFields, mergeObject)

now

const select = new PrismaSelect(info, { defaultFields })

New feature

Now you can send a new option to custom your Prisma client generation

import { dmmf } from './generate/client';

const select = new PrismaSelect(info, { dmmf })