adminjs-prisma
adminjs-prisma copied to clipboard
Support type block in schema
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".
I think this lib needs support type in schema.