cleanup impls

This commit is contained in:
Daniel Hutzel
2025-07-24 13:31:45 +02:00
parent 6dc1da2964
commit 991e890ba9
3 changed files with 37 additions and 31 deletions

View File

@@ -68,7 +68,7 @@ extend service AdminService with {
null as name,
// constraint related to two fields
dateOfDeath > dateOfBirth ? 'we must be born before we die' : null as _born_before_death,
dateOfDeath < dateOfBirth ? 'we can''t die before we are born' : null as _born_before_death,
$self._born_before_death as dateOfBirth,
$self._born_before_death as dateOfDeath,