Support outputs template variable in dependency outputs field #2662
Labels
pep003-advanced-dependencies
Implementation of the Advanced Dependencies proposal
placeholder
Tracks work that has not yet be fully designed
When evaluating a dependency's outputs for template syntax, we should support a shorter way of addressing the current dependency's outputs
Instead of ${bundle.dependencies.CURRENT_DEP.outputs.OUTPUT_NAME} the author should be able to use ${outputs.OUTPUT_NAME}. These should be equivalent variables and use the same backing map when the template is resolved.
This variable is only applicable to the outputs section of a dependency. Each template must be evaluated separately, if we want to support this new variable since it is specific to the context in which it's running.
Questions
${bundle.outputs.OUTPUT_NAME}
which stores different data? like it could be${dependency.outputs.OUTPUT_NAME}
instead. 🤷♀️ℹ️ Read PEP003 - Advanced Dependencies for context about how dependencies should work, design details, and notes about desired behavior.
The text was updated successfully, but these errors were encountered: