in `schema.prisma` ``` model Product { id String @id @default(auto()) @map("_id") @db.ObjectId name String photos Photo[] } type Photo { height Int width Int url String } ``` When Prisma data source is Mongodb, this schema will be warned that "Unhandled type: Photo". [docs ref](https://www.prisma.io/docs/concepts/components/prisma-schema/data-model#defining-composite-types) I think this lib needs support type in schema.
Activity
mrelemerson commentedon Jul 22, 2025
Being 2025 I also get the same error.