Skip to content

Exclude classes with #[Document] attribute from container#876

Merged
GromNaN merged 1 commit intodoctrine:5.2.xfrom
GromNaN:exclude-document-dto
Jan 10, 2025
Merged

Exclude classes with #[Document] attribute from container#876
GromNaN merged 1 commit intodoctrine:5.2.xfrom
GromNaN:exclude-document-dto

Conversation

@GromNaN
Copy link
Copy Markdown
Member

@GromNaN GromNaN commented Jan 6, 2025

Related to symfony/symfony#59280

Avoids any problems if the src/Document directory is not excluded from the container configuration. This directory is not excluded by default by the Symfony recipe.

@GromNaN GromNaN changed the title Exclude classes with `#[Document] attribute from container Exclude classes with #[Document] attribute from container Jan 6, 2025
Copy link
Copy Markdown
Member

@SenseException SenseException left a comment

Choose a reason for hiding this comment

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

It can be seen as a bug, so my guess is that the 5.2.x branch is the right choice, but I'd like a second reviewer about that.

@GromNaN GromNaN requested a review from jmikola January 10, 2025 20:52
@GromNaN
Copy link
Copy Markdown
Member Author

GromNaN commented Jan 10, 2025

In my opinion, this is a new feature that simplifies configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants