Skip to content

element.py: Always expand public data's variables

Benjamin Schubert requested to merge bschubert/resolve-public-variables into master

Description

This fixes a bug introduced by d7d18c1a, where public data integration commands and others would never get their data expanded and would thus fail to run.

The previous however revelead a previous bug, where variables values in public data of elements would not be part of the cache key of an element or it's reverse dependencies, and thus, on variable change, rebuilds would not happen when they would have been needed.

This ensures that all the public data is always resolved and part of the element's cache key. This however will bring a rebuild of an element whenever its integration commands variables change, which is simpler to handle than to try to push that responsibility on reverse dependencies, since public data can contain plugin-defined values.

This merge request, when approved, will close: #1310 (closed)


Merge request reports