Skip to content

Conversation

@grant0417
Copy link

@grant0417 grant0417 commented Jan 10, 2026

Summary

  • Add support for parsing nested objects and arrays in query strings using the qs library
  • Enable complex query parameter structures like filter[category]=electronics or tags[0]=javascript&tags[1]=typescript
  • Add qs as an optional peer dependency with opt-in configuration via { qs: { enabled: true } }
  • Generate OpenAPI specs with appropriate deepObject style for nested objects and form style for arrays

Add support for parsing nested objects and arrays in query strings using the qs library.
This enables users to handle complex query parameter structures like filter[category]=electronics
or tags[0]=javascript&tags[1]=typescript.

Key changes:
- Add qs as an optional peer dependency
- Add qs option to validator middleware with enabled flag and qs configuration options
- Generate OpenAPI specs with deepObject style for nested objects and form style for arrays
- Maintain backward compatibility - qs parsing is opt-in and disabled by default
@grant0417 grant0417 force-pushed the feat/qs-query-parsing branch from 731cf26 to 04d92d1 Compare January 10, 2026 00:03
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