Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use Macroable trait on TokenGuard #51922

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Conversation

imanghafoori1
Copy link
Contributor

The sibling RequestGuard and SessionGuard are macroable but suddenly the token guard is not. This breaks for my package users when they switch their guard to TokenGuard.

imanghafoori1/laravel-MasterPass#53

Honestly, I do not see any reason to avoid using macroable on this particular guard.

@imanghafoori1
Copy link
Contributor Author

image
image

@taylorotwell taylorotwell merged commit fe4f3dc into laravel:11.x Jun 26, 2024
28 checks passed
@imanghafoori1 imanghafoori1 deleted the patch-2 branch June 26, 2024 21:36
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