Installers should be able to inherit and merge dependencies from package #4023
Labels
Area-Manifest
This may require a change to the manifest
Dependencies
Related to package level dependencies
Issue-Feature
This is a feature request for the Windows Package Manager client.
Description of the new feature / enhancement
This is an excerpt from a package I am about to submit - as you can see, 2 out of 3 dependencies are the same for both installers:
It seems sensible to refactor to:
Surprisingly, this doesn't work, as the installers' dependencies (or at least the package dependencies) will be overridden. I would have found it more intuitive if they would have been inherited and merged by default, but for the sake of backwards compatibility, I'd suggest a boolean option
inherit
:Since most of the time that this feature would be handy is probably within the context of architecture-specific packages, it may become obsolete if #1665 got implemented. I imagine then we could write someting like this:
Proposed technical implementation details
No response
The text was updated successfully, but these errors were encountered: