hotmeteor / spectator

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

Nested query parameters always fail validation #130

Closed HughbertD closed 2 years ago

HughbertD commented 2 years ago

Query string params such as ?filter[groupId] always fail validation because retrieving them via $this->request->query->has and $this->request->query->get doesn't work.

Instead I think the parameter names need to become dot notated, e.g.

filter[groupId] => filter.groupId

So that they can be retrieved via the Arr::get and Arr:has methods

This issue should be fixed by: #129