Elektrine lite

← Feed

@graste@social.vivaldi.net

Post #4043303

2026-07-23 17:25 UTC

"Symfony 8 ignores your #[Groups] attribute" https://ddz.dev/blog/symfony-8-groups-attribute-silently-ignored/ "Groups is not the only class that moved. The same shim treatment applies to the whole old namespace: SerializedName, Ignore, Context, MaxDepth, DiscriminatorMap. Every one of them will compile from the old import and do absolutely nothing. Ignore is the scary one, since a silently dropped #[Ignore] doesn't remove data from your response, it adds data you meant to hide. Empty invoices are embarrassing; leaking a field you explicitly marked as ignored is a different category of morning." #php #symfony

Replies (0)

No replies.