Skip to content

Commit a80d2d4

Browse files
authored
Remove unused Request::DEFAULT_PARAMS_BUILDER constant (#2556)
* Remove unused Request::DEFAULT_PARAMS_BUILDER The constant was introduced in 45abe0d but is never referenced and hasn't been since its inception. * Update CHANGELOG.md
1 parent 1a75b28 commit a80d2d4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* [#2550](https://github.com/ruby-grape/grape/pull/2550): Drop ActiveSupport 6.0 - [@ericproulx](https://github.com/ericproulx).
1111
* [#2549](https://github.com/ruby-grape/grape/pull/2549): Delegate cookies management to `Grape::Request` - [@ericproulx](https://github.com/ericproulx).
1212
* [#2554](https://github.com/ruby-grape/grape/pull/2554): Remove `Grape::Http::Headers` and `Grape::Util::Lazy::Object` - [@ericproulx](https://github.com/ericproulx).
13+
* [#2556](https://github.com/ruby-grape/grape/pull/2556): Remove unused `Grape::Request::DEFAULT_PARAMS_BUILDER` constant - [@eriklovmo](https://github.com/eriklovmo).
1314
* Your contribution here.
1415

1516
#### Fixes

Diff for: lib/grape/request.rb

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
module Grape
44
class Request < Rack::Request
5-
DEFAULT_PARAMS_BUILDER = :hash_with_indifferent_access
65
# Based on rack 3 KNOWN_HEADERS
76
# https://github.com/rack/rack/blob/4f15e7b814922af79605be4b02c5b7c3044ba206/lib/rack/headers.rb#L10
87

0 commit comments

Comments
 (0)