About <this PR> This time, I used the `source` att...
# contributors
n
About this PR This time, I used the
source
attribute to detect and evaluate modules directly inside
loadModules()
. The idea is to eagerly evaluate modules only when all of their attributes (including custom inputs) are fully resolvable. I also made sure to skip modules using
count
or
for_each
, even if their values are known — so that expansion still happens correctly. This avoids duplication (like
module.x
and
module.x[0]
) and ensures dependent modules like
module.with_output
are evaluated early enough to support things like
count = module.with_output.count
. LMK about your thoughts.