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(#2287): symfony assertions (NotBlank) not working in DTO classes #2288

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

heminei
Copy link

@heminei heminei commented May 22, 2024

Q A
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #2287

@DjordyKoert
Copy link
Collaborator

Could you fix the failing tests? 😄

Comment on lines -85 to -88
if (!Generator::isDefault($property->default)) {
return;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that this is the correct approach to solve this issue. Please see #2287 (comment) for my thoughts on this and another approach how to fix this outside of the bundle.

@DjordyKoert DjordyKoert changed the title Fixed bug #2287 fix(#2287): symfony assertions (NotBlank) not working in DTO classes Jun 12, 2024
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.

[Bug]: Symfony assertions (NotBlank) not working in DTO classes
3 participants