Commit 1be240b
fix(plugin): validate provides.mixins targets against allowlist (#2256)
PackageLoader silently accepted unknown mixin targets: a typo like
"controler" or an unsupported name like "view" produced zero mixin
injection, so the package appeared loaded but its methods never reached
the target. Added $validateMixinTargets() to reject unknown targets up
front with a clear error naming the unknown entry and the full allowlist.
Dropped the silent-noop "view" target from the basecoat and hotwire
manifests (controller mixins already surface in views via variables
scope) and aligned the CLAUDE.md provides.mixins description with the
actual allowlist.
Refs #2247
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 17e216d commit 1be240b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments