Skip to content

Commit

Permalink
Merge pull request #171 from nfroidure/fix/ajv_settings
Browse files Browse the repository at this point in the history
chore(ajv): fix ajv settings to avoid type coercition
  • Loading branch information
nfroidure authored Sep 29, 2023
2 parents 77149b8 + d0ed241 commit 9ac3450
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/whook-aws-lambda/src/wrappers/awsHTTPLambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ async function initWrapHandlerForConsumerLambda<S extends WhookHandler>({
warn: (...args: string[]) => log('warning', ...args),
error: (...args: string[]) => log('error', ...args),
},
useDefaults: true,
coerceTypes: true,
});
addAJVFormats.default(ajv);
const ammendedParameters = extractOperationSecurityParameters(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,6 @@ async function initWrapHandlerForGoogleHTTPFunction<S extends WhookHandler>({
warn: (...args: string[]) => log?.('warning', ...args),
error: (...args: string[]) => log?.('error', ...args),
},
useDefaults: true,
coerceTypes: true,
});
addAJVFormats.default(ajv);
const ammendedParameters = extractOperationSecurityParameters(
Expand Down

0 comments on commit 9ac3450

Please sign in to comment.