add Faraday#Deprecate to 1.x - #1438
Conversation
iMacTia
left a comment
There was a problem hiding this comment.
Thank you for bringing this back @hyuraku.
There are some changes that I wouldn't expect in this PR, please see my comment below.
Do you also think you could add some test coverage to check the warnings are correctly output when the skip is disabled?
|
Thank you for addressing all the comments @hyuraku 🙌!
|
I want to add the test when the skip is disabled? to |
|
Or better, a generic test around the |
iMacTia
left a comment
There was a problem hiding this comment.
Just realised we can now remove the require from error.rb as well
| @@ -1,5 +1,7 @@ | |||
| # frozen_string_literal: true | |||
|
|
|||
| require 'faraday/deprecate' | |||
There was a problem hiding this comment.
This is not necessary anymore 🙌 !
|
@iMacTia |
|
All tests pass locally ✅ 🎉 |
|
Thank you both! |
Description
add Faraday#Deprecate to hide deprecate method's warning message
Fixes #1410
Todos
List any remaining work that needs to be done, i.e:
Additional Notes