symfony-docs
symfony-docs copied to clipboard
[Security] Support union type for `#[CurrentUser]` attribute
| Q | A |
|---|---|
| Feature PR | symfony/symfony#61204 |
| PR author(s) | @VincentLanglet |
| Merged in | 7.4 |
We created this issue to not forget to document this new feature. We would really appreciate if you can help us with this task. If you are not sure how to do it, please ask us and we will help you.
To fix this issue, please create a PR against the 7.4 branch in the symfony-docs repository.
Thank you! :smiley:
Hi @javiereguiluz
There is no real doc about the CurrentUser attribute
It's just used in https://symfony.com/doc/current/security.html without more information
Is there something to add in the 7.4 doc then ?
We have this pending to be merged about #[CurrentUser]: #18005
We need more reviews for it 🙏 Thanks!