grape
grape copied to clipboard
An opinionated framework for creating REST-like APIs in Ruby.
There's a `todo` for `deprecation` (it's been a [while](https://github.com/ruby-grape/grape/blob/master/UPGRADING.md#replace-error_response-with-error-in-rescue_from-blocks)) but there's no warn DEPRECATION. Since it's use internally, adding a warning will pop every single time. I think we should...
Hi, Prior to https://github.com/ruby-grape/grape/pull/2189 the `params` object also contained the unknown parameters that weren't described in the route definition. For instance: ```ruby requires :name, type: String, as: :company_name, optional :bar,...
Our automated tests are showing ``` rake aborted! NameError: uninitialized constant Grape::Validations::Base ``` It appears this commit https://github.com/ruby-grape/grape/commit/937b2fc8a7081c5eb74ff8a4a760e30ebabbd780 changed the path from `Grape::Validations::Base` to `Grape::Validations::Validators:Base`
https://www.rfc-editor.org/rfc/rfc4918.html defines several HTTP methods to support WebDAV-like APIs, such as LOCK and UNLOCK. Unfortunately, these methods are not supported by Grape. As these methods are not supported, ruby apps...
https://github.com/ruby-grape/grape/issues/358 https://github.com/ruby-grape/grape#reloading-api-changes-in-development We have: ``` ActiveSupport::Dependencies.explicitly_unloadable_constants += [ 'GrapeAPI::V1::RootEndpoint', 'GrapeAPI::RootEndpoint' ] ```
All my search efforts and reading of the documentation for Grape seems to indicate that autoloading is a feature provided when Grape is used in combination with another framework, such...
https://github.com/dry-rb/dry-container/issues/81 https://github.com/dry-rb/dry-types/issues/431 https://github.com/jruby/jruby/issues/6980
```ruby params do optional :page_size, as: :per_page, type: Integer end params #=> {page_size: 10} not have per_page declared(params) #=> {per_page: 10} ``` i upgrade from 1.31 to 1.6.0 @brynary @tmornini...
When I reference an undefined local variable within a grape controller (e.g. I forgot to include a helper) I get an error log that's more than 243.274 characters long. This...
Hello, Simple question, since Ruby 3.1 is out, is it worth keeping 2.5 as the minimal required_ruby_version ? I could add a PR adding 3.1 and dropping 2.5. Thanks