Skip to content

Conversation

@HypeMC
Copy link
Member

@HypeMC HypeMC commented Oct 28, 2025

Q A
Branch? 7.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Consider the following DTO:

final readonly class Foo
{
    public function __construct(
        #[SerializedPath('[filter][conditions]')]
        public array $conditions,
    ) {
    }
}

Throw the following error:

The resource "App\DTO\Foo" tagged "serializer.attribute_metadata" is missing the "container.excluded" tag.

@nicolas-grekas nicolas-grekas force-pushed the add-missing-container.excluded branch from f46c5ea to 6c2f3e4 Compare October 28, 2025 09:05
@nicolas-grekas
Copy link
Member

Thank you @HypeMC.

@nicolas-grekas nicolas-grekas merged commit 8ae66d5 into symfony:7.4 Oct 28, 2025
12 checks passed
@HypeMC HypeMC deleted the add-missing-container.excluded branch October 28, 2025 09:08
This was referenced Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants