Closed haleksandre closed 3 years ago
This should fix #202
When I'm passing my own Prisma.dmmf the models get parsed correctly via https://github.com/haleksandre/prisma-tools/blob/1abadc6f2ddfdcf1e14761993d986b5f57f95353/packages/plugins/src/select.ts#L74
Prisma.dmmf
Otherwise the models are empty since it looks for dataModel instead of datamodel.
dataModel
datamodel
Thank you for your fix put i already did it and pushed new version
Alright, thanks for the quick fix!
This should fix #202
When I'm passing my own
Prisma.dmmf
the models get parsed correctly via https://github.com/haleksandre/prisma-tools/blob/1abadc6f2ddfdcf1e14761993d986b5f57f95353/packages/plugins/src/select.ts#L74Otherwise the models are empty since it looks for
dataModel
instead ofdatamodel
.