Skip to content

fix: make RequireAll type recursive for arrays#140

Merged
zedrdave merged 3 commits intomainfrom
fix/requireall-recursive-array-types
Mar 2, 2026
Merged

fix: make RequireAll type recursive for arrays#140
zedrdave merged 3 commits intomainfrom
fix/requireall-recursive-array-types

Conversation

@zedrdave
Copy link
Copy Markdown
Member

@zedrdave zedrdave commented Mar 2, 2026

Changes

This PR fixes the type to recursively process arrays, ensuring all elements within arrays are properly marked as required.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Description

The type utility was not handling nested arrays properly. This fix makes the type recursive so that:

  • Arrays of complex types have all their elements required
  • Readonly arrays are handled correctly
  • Nested array structures are fully processed

Validation

All tests pass:

  • ✅ Unit tests (342 passed)
  • ✅ TypeScript compilation
  • ✅ ESLint linting
  • ✅ Prettier formatting

Checklist

  • Code follows project style guidelines
  • Tests added/updated
  • Version bumped (0.19.0 → 0.19.1)
  • CHANGELOG.md updated

@zedrdave zedrdave merged commit 820b487 into main Mar 2, 2026
3 checks passed
@zedrdave zedrdave deleted the fix/requireall-recursive-array-types branch March 2, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant