grape icon indicating copy to clipboard operation
grape copied to clipboard

error_response deprecation ?

Open ericproulx opened this issue 3 years ago • 1 comments

There's a todo for deprecation (it's been a while) but there's no warn DEPRECATION. Since it's use internally, adding a warning will pop every single time.

I think we should not use it internally and add a proper warning DEPRECATION. What do you think ?

https://github.com/ruby-grape/grape/blob/0fa5216947816fff9d3cb37bab44144ee7d33701/lib/grape/middleware/error.rb#L62-L71

ericproulx avatar Feb 28 '22 16:02 ericproulx

Makes sense, please.

dblock avatar Mar 01 '22 16:03 dblock