hotmeteor / spectator

OpenAPI testing for PHP
MIT License
285 stars 53 forks source link

Handle validation of nested query parameters e.g. ?filter[groupId]= #129

Closed HughbertD closed 2 years ago

HughbertD commented 2 years ago

Nested query parameters such as ?filter[groupId] always return null during the validation.

This is due to $this->request->query->has being a pretty simple Symfony implementation (as documented https://github.com/laravel/framework/issues/33376)

This adds some support to getting these nested query parameters in the recommended way from the query string.

Fixes #130

ethanbray commented 2 years ago

@hotmeteor I appreciate you're probably busy but is there any chance we can get this reviewed/merged? We make heavy usage of nested query parameters and this is posing an issue for us.

hotmeteor commented 2 years ago

Done