We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91baf6b commit 3050bedCopy full SHA for 3050bed
core/validation.md
@@ -288,7 +288,7 @@ use ApiPlatform\Metadata\ApiResource;
288
use App\Validator\AdminGroupsGenerator;
289
use Symfony\Component\Validator\Constraints as Assert;
290
291
-#[ApiResource(validationContext: ['groups' => [AdminGroupsGenerator::class]])
+#[ApiResource(validationContext: ['groups' => AdminGroupsGenerator::class])
292
class Book
293
{
294
#[Assert\NotBlank(groups: ['a'])]
0 commit comments