-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Routing][Serializer] Add possible missing imports of NamedArgumentConstructor #41706
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to import core annotations. The current code is correct.
So what should I do to avoid this issue ? :) |
What version of Doctrine Annotations do you use? Can you maybe create a reproducer so I can analyze the problem? |
I will try to create testcase / reproducer after my work :) |
@derrabus I added test case for |
@derrabus - friendly ping ;) |
Sorry, I‘m on vacation at the moment and did not have time to investigate further. I hope that I can get back to you by the end of the week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay. I don't really understand why you (or JMS serializer) would want to parse the annotations on an annotation class. That being said, importing that annotation should not be necessary because it's not necessary for the other core annotations.
Closing in favor of doctrine/annotations#419. |
Thank you @derrabus |
Hi.
This PR fixes possible missing imports of NamedArgumentConstructor (etc. added in #40266).
The main reason for this pull request and apply this changes is error caused by JMSSerializer as below: