Daniel (dB.) Doubrovkine
Daniel (dB.) Doubrovkine
Without digging how it's used I think `full_name` could return a structure (array?) and that's what we would be passing around until we need a string representation of it.
How so? This is the constructor for `InvalidMessageBody`.
I would write a spec for your scenario, then try to specialize this error (and anywhere we `throw :error`) and see what breaks?
This is similar or at least related to https://github.com/ruby-grape/grape-swagger/issues/721.
I am not sure, @LeFnord might know more.
Makes sense, please.
What content-type are you using? This should work with content-type: JSON, but if you supply things in multipart or query params Rack can't figure it out.
That defines the response, not the request. How do you PATCH/POST data?
I am thinking something global and declarative for an API.
Of course @whatasunnyday, no need to ask, just make pull requests!