Skip to content

Define semantics and implement CopyDirective.add #245

@amc-corey-cox

Description

@amc-corey-cox

`CopyDirective.add` is declared in `transformer_model.yaml` (range: Any) but has no description and is not read anywhere in `schema_mapper.py`.

Needs:

  • Decide what `add` means relative to `copy_all`/`exclude`/`exclude_all`/`include`. The other four operate on existing sub-elements of the source; `add` presumably injects new ones not present in the source.
  • Define the value shape (full element definitions? references?).
  • Document and implement in the `SchemaMapper.copy*` methods.

Spun out of #67 / #244.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions