Daniel (dB.) Doubrovkine
Daniel (dB.) Doubrovkine
Yep, I think overwriting parameters either way is a reasonable feature request. Maybe it already works? ;)
I don't have strong opinions, although I am always apprehensive about introducing new DSL language (eg. `satisfy`). I would want to just be able to say `params API::Parameters::UserParams`.
> @dm1try - We've updated our codebase to use `Grape::Validations::Validators:Base` > But I think it make sense to release `1.6.3` that contains this - so that the latest 1.6.x isn't...
Agreed. Can someone please PR a fix? @dm1try ?
Does SwaggerUI claim to support these at all?
Ouch. These look like real problems. Turn your example(s) into specs and see if you can fix'em? At least PR the specs. I think the other problem is real and...
Probably a bug. Turn it into a failing spec and PR that?
I think your latter theory is more viable, but try to build a simpler repro maybe?
If you put a project up that reproduces this I can try to help.
@amrrbakry I tried it. Looked like a bug at first, but is more like a non-feature. Looking at https://github.com/ruby-grape/grape/blob/master/lib/grape/exceptions/base.rb#L73 is getting called with `registration[total_capacity]`, so the following `en.yml` yields what...