Skip to content

Passing params/references to groups/adapters #381

@SteveL-MSFT

Description

@SteveL-MSFT

Summary of the new feature / enhancement

dsc only has visibility in the top most layer. This means that functions that get called such as parameter() and reference() can only access those within the same layer. A group can access those functions, but only within that group's layer.

Currently, there isn't a way to pass parameters to groups and a group cannot access a reference outside of its layer.

Proposed technical implementation details (optional)

I think we are ok to say that reference only works within a group, but I can see utility in passing parameters lower. In the case of groups, we could define a new to pass parameter values with the expectation that the either the group has a literal parameters section it resolves or we can have it inherit the parent's parameter definitions.

For adapters, we may just not have support for either.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions