Setting the Todo.Status property to "COMPLETED" sets the Todo.Completed property to NOW as well. Both of these properties are optional and should be able to be set independently.
This behavior should be in a separate method that clearly states it will set both properties.
Todo.MarkAsCompleted(Instant? completed = null);
Setting the
Todo.Statusproperty to "COMPLETED" sets theTodo.Completedproperty to NOW as well. Both of these properties are optional and should be able to be set independently.This behavior should be in a separate method that clearly states it will set both properties.