zendesk_api_client_rb
zendesk_api_client_rb copied to clipboard
Fix faraday deprecation errors for `authorization`
Fixes the deprecation errors:
WARNING: `Faraday::Connection#authorization` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:authorization, ...)` instead.
I couldn't directly use the client in the test since faraday only edits the headers somewhere using the middleware. So I had to make a request and check the request_header there.
Is there a chance this gets a review? The deprecation messages this causes in our tests are a bit annoying. Thanks
is this gem under active development? this is the second thread/PR/issue about faraday with just zero response from anyone official.
FYI: We are working on releasing v2 of the gem that will support Faraday v2.
Can this get merged before that?
You're right@arashm, it would be better. I'll see with the team. 👍