Skip to content

Commit 36fae07

Browse files
Brooooooklynclaude
andauthored
fix: linker compiles hostBindings/hostVars for directives and emits signals flag (#83)
The linker's `link_directive` was only generating `hostAttrs` for static host attributes, but was missing compilation of dynamic host bindings (`hostVars` and `hostBindings`). This caused directives like RouterLink to lose their host property bindings (href, target) and event listeners (click) at runtime, making them non-functional. Also adds `signals: true` emission for both directives and components when the partial declaration has `isSignal: true`, aligning with the Angular TS compiler's `baseDirectiveFields` output. - Close #72 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bccbac7 commit 36fae07

File tree

1 file changed

+326
-161
lines changed
  • crates/oxc_angular_compiler/src/linker

1 file changed

+326
-161
lines changed

0 commit comments

Comments
 (0)