Skip to content

Commit

Permalink
Define the multipleOfPrecision option for ajv to handle javascript nu…
Browse files Browse the repository at this point in the history
  • Loading branch information
DyspC committed Feb 23, 2022
1 parent a86f1f3 commit 3bf881f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/http/src/validator/validators/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const baseAjvOptions: Partial<Options> = {
allErrors: true,
allowUnionTypes: true,
allowMatchingProperties: true,
multipleOfPrecision: 3,
strict: false,
logger: unknownFormatSilencerLogger,
};
Expand Down

0 comments on commit 3bf881f

Please sign in to comment.