Proposal: honor replace directives from imported modules in go.mod #39358
Labels
FrozenDueToAge
Proposal
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
gomod has following restriction:
This make it's hard and unreliable import other modules which have replace. For example, if the “main” module forgets to set related replace of other modules, bugs may happen.
In fact, even the replace is not ignored in modules, the "main" module can still complete control all dependencies by it's own replace. So it's better to not ignore replace directive of other modules.
More info please refer to #39310
The text was updated successfully, but these errors were encountered: