Skip to content

Commit

Permalink
fix(schema): Don't initialized spec values with undefined (#1160)
Browse files Browse the repository at this point in the history
  • Loading branch information
cemalettin-work committed Dec 13, 2020
1 parent e785e1a commit c5a4aaa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ export default abstract class BaseSchema<
strict: false,
abortEarly: true,
recursive: true,
label: undefined,
meta: undefined,
nullable: false,
presence: 'optional',
...options?.spec,
Expand Down

0 comments on commit c5a4aaa

Please sign in to comment.