Relative Content

Tag Archive for phpsymfonydeserializationapi-platform.com

API Platform not applying validation using groups on POST requests

I am facing an issue with API Platform (using Symfony 6.4) where validations specified using validation groups are not being applied automatically during POST operations. Despite properly configuring annotations and serialization/deserialization groups, the validations are only triggered when I use a custom event subscriber.