Serge Dubrovin

Results 4 comments of Serge Dubrovin

I checked it on the [latest commit](https://github.com/ruby-grape/grape/commit/56719693012269b0132d09e5e8fd41a906e38a6d) and just have rechecked with passing `Content-Type = application/json`. Validation fails.

Here is the PR with failing spec: https://github.com/ruby-grape/grape/pull/2474

```rb params do requires :items, type: Array, allow_blank: false do requires :item_type, type: String, allow_blank: false given item_type: ->(val) { val == 'type_a' } do requires :inner_items, type: Array do...

No, it also doesn't work for nested hashes. Sure, will try to fix it.