Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Allow overriding context mappings in children elements #377

Description

@dawagner

When a context mapping key is defined in an element, the same key may not be defined again in a sub-element. This behaviour is useful to avoid a certain class of mistakes but the opposite is also sometimes useful when, in a large list of elements, a single elements stands out and has to override the context.

Example:

<ComponentTypeName="T"Mapping="Key:Value">
...
</ComponentType>
...
<InstanceDefinition>
<ComponentName="1"Type="T"/>
<ComponentName="2"Type="T"/>
<ComponentName="3"Type="T"/>
<ComponentName="4"Type="T"/>
<ComponentName="5"Type="T"/>
<ComponentName="6"Type="T"Mapping="Key:SpecialValue"/>
</InstanceDefinition>

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