Skip to content

Commit

Permalink
fix: fix array describe not including conditions
Browse files Browse the repository at this point in the history
fixes #1920
  • Loading branch information
jquense committed Feb 27, 2023
1 parent 2461dce commit 4040592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export default class ArraySchema<
}

describe(options?: ResolveOptions<TContext>) {
let base = super.describe() as SchemaInnerTypeDescription;
let base = super.describe(options) as SchemaInnerTypeDescription;
if (this.innerType) {
let innerOptions = options;
if (innerOptions?.value) {
Expand Down

0 comments on commit 4040592

Please sign in to comment.