Daniel (dB.) Doubrovkine

Results 3341 comments of Daniel (dB.) Doubrovkine

I think it's not that easy, for example, `/foo/:id` vs. `/:id/foo` :)

I wouldn't be so sure. Matching "whichever matches first" is also a fine strategy. Either way what this is saying is that the matching mechanism should probably be something I...

AFAIK Grape does not, but this could be a good development opportunity, I'll label this as a feature

This does look like a bug where we are not evaluating `given` in `declared`? Care to maybe PR some failing tests/fix?

This is currently not supported => feature request.

See https://github.com/tim-vandecasteele/grape-swagger/issues/219 - I'd really like https://github.com/tim-vandecasteele/grape-swagger/issues/137 first.

Thanks for bringing this up. Let me repeat this back to make sure I understand. Everything works _except_ when the caller provides `nil`, in which case the coercer is not...

I see. Regarding the default that makes sense - there's a default value for when there's no value, no parameters, etc. It's ... the default. Why do you want to...

For both of these, is `params.key?(:values) == true` and when the user doesn't include `values` that's `false`? Then API could do this in a `before` block? ```ruby params[:values] ||= []...

> It feels like Grape should make this easier. I agree.