fix normalization for docgen

This commit is contained in:
2022-03-14 21:27:21 +01:00
parent c61577edda
commit 90bebbad7d
2 changed files with 19 additions and 3 deletions

View File

@@ -40,6 +40,7 @@ class UserJob
* @var array|string[]A
* @ORM\Column(name="label", type="json")
* @Serializer\Groups({"read", "docgen:read"})
* @Serializer\Context({"is-translatable": true}, groups={"docgen:read"})
*/
protected array $label = [];