-
Notifications
You must be signed in to change notification settings - Fork 702
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
Missing Attribute Annotation #2301
Comments
That's right, FOSRestBundle doesn't support attributes yet. Would you like to give this a try? |
Hmm...checked some things but this will not be easy as for some annotations Symfony blocks you. Check in example Maybe I am wrong, but this is the code that is problem IMO: https://github.com/symfony/symfony/blob/5.x/src/Symfony/Component/Routing/Loader/AnnotationClassLoader.php#L375 I think they need to add this to make |
The other part of this that's tricky though is the changed Funny enough, the |
Added PR to SF symfony/symfony#41014, it shows it will be merged in 5.* probably, work on this could be done after that... |
There is probably another problem with
Looks like even doctrine drop nesting:
So no solution probably... |
@robmro27 - Nested Attributes will be available since PHP 8.1. |
I guess this is related to #2311 I gave it a try in #2312 |
Maybe I missed something but above class not support new PHP 8 attributes ? Checked all classes in Annotation folder. This is not supported yet ?
The text was updated successfully, but these errors were encountered: