Skip to content

fix(deref): resolve component-form $dynamicRef - #508

Merged
mattpolzin merged 1 commit into
mattpolzin:release/7_0from
aqeelat:fix/dynamic-ref-component-form-deref
Jul 30, 2026
Merged

fix(deref): resolve component-form $dynamicRef#508
mattpolzin merged 1 commit into
mattpolzin:release/7_0from
aqeelat:fix/dynamic-ref-component-form-deref

Conversation

@aqeelat

@aqeelat aqeelat commented Jul 29, 2026

Copy link
Copy Markdown

Part of #359.

externallyDereferenced() rewrites external $dynamicRef targets into internal component references. Local dereferencing previously rejected that component form, so the loaded target could not be inlined.

Resolve component/path-form $dynamicRef values through the same path as $ref. Plain-name anchors retain the existing dynamic-scope behavior.

Tests:

  • component-form $dynamicRef resolves a present component
  • externally dereferenced $dynamicRef inlines its loaded target
  • full suite: 2169 tests, 0 failures

Part of mattpolzin#359.

externallyDereferenced() rewrites external $dynamicRef targets into
internal component references. Local dereferencing previously rejected
that component form, so the loaded target could not be inlined.

Resolve component/path-form $dynamicRef values through the same path as
$ref. Plain-name anchors retain the existing dynamic-scope behavior.
@mattpolzin
mattpolzin merged commit 0d7d715 into mattpolzin:release/7_0 Jul 30, 2026
9 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.

2 participants