refactor: auto register domains on watchlist creation

This commit is contained in:
Vincent
2025-05-30 13:55:44 +02:00
parent 6ac226bcd3
commit aa8d94811a
3 changed files with 68 additions and 6 deletions

View File

@@ -8,6 +8,7 @@ use App\Config\EventAction;
use App\Controller\DomainRefreshController;
use App\Repository\DomainRepository;
use App\Service\RDAPService;
use App\State\AutoRegisterDomainProvider;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
@@ -42,7 +43,8 @@ use Symfony\Component\Serializer\Attribute\SerializedName;
],
read: false
),
]
],
provider: AutoRegisterDomainProvider::class
)]
class Domain
{