Closed richcorbs-ncino closed 1 year ago
Hi @richcorbs-ncino, this issue should go away if you update Faraday to v1.9.0 or higher. Not sure why you're using 1.8.0 and if you're under any external (dependency) constraint, but that would be the easiest solution and the upgrade should be completely painless for you.
If you can, I'd also suggest trying the latest 1.x version which is currently 1.10.3: it comes with an out-of-the-box JSON middleware (meaning you could remove your dependency on faraday_middleware
if that's the only one you use) and could prepare you to move over to v2.x 🙌.
Please do let me know if you can upgrade and if that helps
Thanks so much! Updated to 1.9.0 and the warnings indeed went away!
Basic Info
Issue description
When there are multiple gems in our project that depend on Faraday we get multiples of these kinds of warnings when starting the server:
I found that if I change all the assignments in multipart.rb to
||=
the warnings go away. Is that a valid change to consider making a PR for?multipart.rb
Steps to reproduce
Our app has twilio, sentry, and plaid as dependencies, all of which rely on faraday. When we start our local development server the terminal is filled with these kinds of warnings.
With the change I suggested to multipart.rb the warnings go away.