New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circular require considered harmful on faraday/net_http #1234
Comments
Interesting, I tested this myself because I wanted to avoid this issue and I didn't notice it: $ irb
2.7.0 :001 > require 'faraday'
=> true
$ gem list | grep faraday
faraday (1.3.0)
faraday-net_http (1.0.0) Tested with 2.7 and even 3.0! Once we ship Faraday 2.0, the dependency requirement will swap |
Like this:
|
Fair enough, I'll remove the |
|
Basic Info
Issue description
The
require "faraday/net_http"
addition in #1222 causes a circular dependency issue.https://github.com/lostisland/faraday/pull/1222/files#diff-845cc2342ac470a7b749ab1d5f24fa69c5db413a927700e241c5f6c4a67b649aR30
faraday
requiresfaraday/net_http
.faraday/net_http
requires faraday. wash. rinse. repeat.Steps to reproduce
require "faraday"
The text was updated successfully, but these errors were encountered: