Skip to content

Commit

Permalink
fix: added keyword to ajv
Browse files Browse the repository at this point in the history
  • Loading branch information
CptSchnitz committed Jun 30, 2024
1 parent 9746d3f commit 5d2e00f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const ajvLibraryConfigValidator = new Ajv({
coerceTypes: true,
allErrors: true,
verbose: true,
keywords: ['x-env-value'],
});

export function validate<T>(ajv: Ajv, schema: Schema, data: unknown): [ValidationError[], undefined] | [undefined, T] {
Expand Down

0 comments on commit 5d2e00f

Please sign in to comment.