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

Added support for constraint attributes #1789

Merged
merged 1 commit into from
Mar 14, 2021

Conversation

derrabus
Copy link
Contributor

Since Symfony 5.2, it is possible to annotate constraints using PHP 8.0 attributes. When I turn a constraint annotation into an attribute however, it becomes invisible to NelmioApiDocBundle. With this PR, I'd like to fix this problem.

@derrabus derrabus force-pushed the feature/constraint-attributes branch from 7d124d6 to 16221de Compare March 12, 2021 09:57
@GuilhemN GuilhemN merged commit 645531c into nelmio:master Mar 14, 2021
@GuilhemN
Copy link
Collaborator

Wonderful, thank you very much @derrabus!

@derrabus derrabus deleted the feature/constraint-attributes branch March 14, 2021 15:39
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.

None yet

3 participants