You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made some tests with this lib, I noticed that options.dmmf.datamodel object from generator.ts has models, types and enums, but only models and enums are currently handled.
Bug description
I'm using MongoDB with
Composite types
and the generated models include the "imports" for the composite types, but no "type" file is generated.According to their docs:
Composite types are structured and typed in a similar way to [models]
https://www.prisma.io/docs/concepts/components/prisma-schema/data-model#defining-composite-types
To Reproduce
npx prisma generate
I made some tests with this lib, I noticed that
options.dmmf.datamodel
object from generator.ts hasmodels
,types
andenums
, but onlymodels
andenums
are currently handled.Prisma information
Environment & setup
Prisma Version
4.2.1
The text was updated successfully, but these errors were encountered: