Skip to content

Commit

Permalink
fix(generators): Do not removeAdditional in queries (#3000)
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl authored Jan 24, 2023
1 parent 5854dea commit ef501bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/generators/src/app/templates/validators.tpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ const formats: FormatsPluginOptions = [
export const dataValidator: Ajv = addFormats(new Ajv({}), formats)
export const queryValidator: Ajv = addFormats(new Ajv({
coerceTypes: true,
removeAdditional: true
coerceTypes: true
}), formats)
`

Expand Down

0 comments on commit ef501bc

Please # to comment.