This repository was archived by the owner on Nov 16, 2026. It is now read-only.
Repository navigation
|
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, |
Answered by
m1212e
Jun 15, 2024
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? |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.