Allow, through cwt configs, to somehow make an inline parameter inherit the context/config of its parent/inline, specifically useful for code blocks. #68
In this case i would like to be able to somehow define that code has the same context as the calling inline, but am unable to make it so atm. Usually this works, but if your logic might depend on using an inline dynamically (using inline_script = my_inline_$my_param$ kind of syntax), the context inference is lost (or if used in different conflicted contexts)
These are used in building definitions to unify their logic, and only conditionally add the logic for a specific tier, the code block essentially having the same context/config ideally as the place it is invoked in.
As title described, the ability to somehow configure a parameter to be able to inherit the context/config of its parent inline.
For example the following
In this case i would like to be able to somehow define that
code
has the same context as the calling inline, but am unable to make it so atm. Usually this works, but if your logic might depend on using an inline dynamically (usinginline_script = my_inline_$my_param$
kind of syntax), the context inference is lost (or if used in different conflicted contexts)These are used in building definitions to unify their logic, and only conditionally add the logic for a specific tier, the
code
block essentially having the same context/config ideally as the place it is invoked in.