Skip to content

Comments

Ensure Rack::QueryParser::ParamsTooDeepError is inherited from RangeError.#1864

Merged
ioquatix merged 1 commit intorack:2-2-stablefrom
RubyElders:2-2-stable-ensure-range
Apr 11, 2022
Merged

Ensure Rack::QueryParser::ParamsTooDeepError is inherited from RangeError.#1864
ioquatix merged 1 commit intorack:2-2-stablefrom
RubyElders:2-2-stable-ensure-range

Conversation

@simi
Copy link
Contributor

@simi simi commented Apr 9, 2022

  • this is to cover backward compatibility

…rror.

- this is to cover backward compatibility
@simi simi force-pushed the 2-2-stable-ensure-range branch from 9cb077e to 0f5603c Compare April 10, 2022 21:50
@ioquatix ioquatix requested a review from jeremyevans April 10, 2022 22:15
Copy link
Member

@ioquatix ioquatix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, but let's get feedback from @jeremyevans he might have a better suggestion we can learn from :)

Copy link
Contributor

@jeremyevans jeremyevans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems unnecessary to me. We would never change the superclass of an exception class since it would break backwards compatibility. However, I don't object.

@ioquatix ioquatix merged commit e71d214 into rack:2-2-stable Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants