Skip to content

Support importing compound metadata#1207

Merged
ShanaLMoore merged 1 commit into
mainfrom
add-row-key-option-main
Jun 12, 2026
Merged

Support importing compound metadata#1207
ShanaLMoore merged 1 commit into
mainfrom
add-row-key-option-main

Conversation

@laritakr

Copy link
Copy Markdown
Contributor

Summary

Details

  • A field mapping with an object: writes each value into the object row under the mapping key by default. Mapping keys must be globally unique, so two objects could not both use the same in-row key (e.g. a title in two different compounds).
  • name: (alias row_key:) sets the in-row key explicitly, letting two uniquely-keyed mappings write the same row key into different objects — the case a sub-property shared across compounds, or one colliding with an existing scalar mapping, requires.
  • Backward compatible: mappings without name:/row_key: are unchanged.
  • Forward-port of the 9-stable patch (Support importing compound metadata #1206) onto main.

Add support for `name:` (alias `row_key:`) in field mappings with an `object:` key.

This allows the mapping to specify the key under which the value will be
written inside the object row, independently of the globally unique mapping key.
@laritakr laritakr added the minor-ver for release notes label Jun 11, 2026
@ShanaLMoore
ShanaLMoore merged commit 9e85e50 into main Jun 12, 2026
10 checks passed
@ShanaLMoore
ShanaLMoore deleted the add-row-key-option-main branch June 12, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor-ver for release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants