mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: add small dot. Fixes #76
This commit is contained in:
@@ -58,7 +58,7 @@ class Domain
|
||||
* @var Collection<int, DomainEvent>
|
||||
*/
|
||||
#[ORM\OneToMany(targetEntity: DomainEvent::class, mappedBy: 'domain', cascade: ['persist'], orphanRemoval: true)]
|
||||
#[Groups(['domain:item', 'domain:list'])]
|
||||
#[Groups(['domain:item', 'domain:list', 'watchlist:list'])]
|
||||
private Collection $events;
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,7 +23,11 @@ use Symfony\Component\Uid\Uuid;
|
||||
operations: [
|
||||
new GetCollection(
|
||||
routeName: 'watchlist_get_all_mine',
|
||||
normalizationContext: ['groups' => 'watchlist:list'],
|
||||
normalizationContext: ['groups' => [
|
||||
'watchlist:list',
|
||||
'domain:list',
|
||||
'event:list',
|
||||
]],
|
||||
name: 'get_all_mine',
|
||||
),
|
||||
new GetCollection(
|
||||
@@ -33,6 +37,8 @@ use Symfony\Component\Uid\Uuid;
|
||||
'domain:list',
|
||||
'tld:list',
|
||||
'event:list',
|
||||
'domain:list',
|
||||
'event:list',
|
||||
]],
|
||||
name: 'get_tracked_domains'
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user