Currently a vgo replace directive specifies the replacement of an exact version of a module, but this means that if we're trying to override a module with a local version and for some reason a different version is selected (for example because we have updated some other module and it specifies a later version), the replacement will be ignored. This means that replacement directives are fragile.
Consider allowing a syntax where the specified version can omit the minor or patch version to match all minor versions or all patch versions for a given module.
replace "rsc.io/quote" v1 => "../quote"
The text was updated successfully, but these errors were encountered: