I do hope this question is too subjective, as I am actually looking for a "best practice" that makes sense. However, the question is a bit more broad than just this case.
Lets say I have a view flag on an object (seen or not). When this object is seen, I see three options to make it true:
- Let the app consumer set it by issuing an
UPDATE
call - When we call the
GetObject
method, we automatically set "seen" to true - We add a method in the API saying
SetToSeen
which the consumer is responsible to set
What is the favorable approach here?