TodoRepository work
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user