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

Fix type generation for Composite symfony validator with explicit 'constraints' key #992

Merged
merged 2 commits into from
Mar 4, 2022

Conversation

bravik
Copy link
Contributor

@bravik bravik commented Mar 4, 2022

Fix for #991

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets #991
License MIT

@mcg-web
Copy link
Member

mcg-web commented Mar 4, 2022

Thank you @bravik for the fix ! Can you please add a test covering this case?

@bravik
Copy link
Contributor Author

bravik commented Mar 4, 2022

@mcg-web There are only 3 tests for TypeGenerator at all.. Please, I just don't have enough mental strength to do this, while all this war is going on out here...

@bravik
Copy link
Contributor Author

bravik commented Mar 4, 2022

Updated fix to take into account other options passed to validation constraint

@bravik bravik force-pushed the fix-composite-validation-constraints branch from 6033ad4 to dfcb58f Compare March 4, 2022 08:37
@bravik bravik force-pushed the fix-composite-validation-constraints branch from dfcb58f to 8c5c685 Compare March 4, 2022 08:47
@mcg-web
Copy link
Member

mcg-web commented Mar 4, 2022

Ok I can understand ! I will add test later with your example in #991. Thanks again for the fix and the feedback !

@mcg-web mcg-web merged commit c39a52a into overblog:0.14 Mar 4, 2022
@bravik
Copy link
Contributor Author

bravik commented Mar 7, 2022

@mcg-web will a patch version be released?

@bravik bravik deleted the fix-composite-validation-constraints branch March 7, 2022 00:21
@bravik bravik restored the fix-composite-validation-constraints branch March 7, 2022 00:45
@mcg-web
Copy link
Member

mcg-web commented Mar 11, 2022

released in 0.14.3

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

2 participants