Skip to content

Commit

Permalink
feat: make type optional
Browse files Browse the repository at this point in the history
  • Loading branch information
fdarian committed Jun 26, 2024
1 parent 538ac33 commit 4b5a2c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function getCustomDirective(field: DMMF.Field) {
const ImportSchema = v.object({
name: v.union([v.array(v.string()), v.string()]),
module: v.string(),
type: v.boolean(),
type: v.optional(v.boolean()),
})

const DirectiveSchema = v.object({
Expand Down

0 comments on commit 4b5a2c4

Please sign in to comment.