TodoRepository work

This commit is contained in:
Julien Valverdé
2024-06-28 15:35:25 +02:00
parent b2098550e1
commit c6612bf4a5
2 changed files with 17 additions and 8 deletions

View File

@@ -19,7 +19,7 @@ export module Identifiable {
): boolean {
// Two elements can only be equal if they both have a defined ID
return Option.isSome(that.id) && Option.isSome(to.id)
? Equal.equals(that.id, to.id)
? Equal.equals(that.id.value, to.id.value)
: false
}
}