-
First of all, thanks for this very useful fork of prisma-typebox-generator. I was wondering if there is support for omitting
Example schema: model Item {
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
name String @unique
} For this schema, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey, sorry for the delayed response: In the latest version this will be the case for input models. Does this solve your problem? |
Beta Was this translation helpful? Give feedback.
With your above example I get
As plain model and
as input model. Please note the rephrase of data models to input models. You might need to check the updated readme and adjust your settings to make the new version work as expected.