Skip to content

Comments

Fix component alias resolution for Livewire 4#146

Merged
taylorotwell merged 6 commits intomainfrom
fix-component-alias-resolution
Nov 14, 2025
Merged

Fix component alias resolution for Livewire 4#146
taylorotwell merged 6 commits intomainfrom
fix-component-alias-resolution

Conversation

@calebporzio
Copy link
Contributor

@calebporzio calebporzio commented Nov 12, 2025

Volt currently depends on Livewire 3 internals to resolve component names.

This PR supports Livewire 4 resolution as well.

I chose to continue the pattern of relying on an internal protected property inside Livewire instead of adding an official affordance for this inside Livewire.

I tested this in the livewire starter kit with both Livewire 3 and Livewire 4 installed and this fixed the errors I was getting in both of them.

Failing tests

All the tests pass locally, however GitHub actions Livewire 12 is failing because of an unrelated error in orchestra/canvas's package discovery.

@calebporzio calebporzio marked this pull request as ready for review November 12, 2025 20:29
@taylorotwell taylorotwell merged commit 79a5e23 into main Nov 14, 2025
2 of 56 checks passed
@taylorotwell taylorotwell deleted the fix-component-alias-resolution branch November 14, 2025 15:10
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