Currently readwrite.exists method must return an error for keys that do not exist, which makes the return value (bool) of that method redundant.
Remove the requirement to return an error to address this inconsistency.
Alternatively, the bool return value could be removed, but IMO exists would not be the right name for such method anymore
Currently
readwrite.exists
method must return an error for keys that do not exist, which makes the return value (bool
) of that method redundant. Remove the requirement to return an error to address this inconsistency.Alternatively, the
bool
return value could be removed, but IMOexists
would not be the right name for such method anymore