fix: a domain may not have status

This commit is contained in:
Maël Gangloff
2024-07-23 14:30:21 +02:00
parent fa11235270
commit 75789b750d
3 changed files with 50 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ class Domain
#[SerializedName('entities')]
private Collection $domainEntities;
#[ORM\Column(type: Types::SIMPLE_ARRAY)]
#[ORM\Column(type: Types::SIMPLE_ARRAY, nullable: true)]
#[Groups(['domain:item'])]
private array $status = [];