Documentation doesn't mention support for #[Scope] attribute #1031
Replies: 1 comment
-
|
Feel free to PR this to our docs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Spatie,
Thanks for the package, I use this in a bunch of my personal projects. Just wanted to mention something for the documentation.
In Laravel 12, local scopes can now be defined using the new
#[Scope]attribute. I didn't see this in your documentation so had assumed it wasn't supported yet. But it does appear to work out-of-the-box.Might be worth adding this to the documentation 👍🏼
Usage:
Beta Was this translation helpful? Give feedback.
All reactions