-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I noticed that requiredAttrs
is using a partial. The problem is it doesnt reflect the required attrs that .create({ data: {} })
has and wont be caught by TS. For example, if column name
is required, prisma.user.create()
would catch it but the factory would not. Suggestion is to remove partial but remove associations (still trying to figure out a way to do that)
Metadata
Metadata
Assignees
Labels
No labels