Skip to content

Scope macro asset unique keys to the parent asset#10215

Merged
devongovett merged 1 commit into
v2from
fix-unique-key
Sep 18, 2025
Merged

Scope macro asset unique keys to the parent asset#10215
devongovett merged 1 commit into
v2from
fix-unique-key

Conversation

@devongovett

Copy link
Copy Markdown
Member

We return a flattened list of assets from transformation, so if a transformer returns multiple assets (e.g. MDX) which each have sub-assets (e.g. macros), their unique keys can conflict. This adds the parent asset's unique key as a prefix of the child asset unique keys to avoid this.

@devongovett devongovett merged commit 393d55d into v2 Sep 18, 2025
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant