Skip to content

Commit

Permalink
chore: deprecate SetIfNotExist to use SetIf (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
honeyAcorn authored Mar 7, 2024
1 parent d308024 commit 301d428
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion proto/cacheclient.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ service Scs {
rpc Set (_SetRequest) returns (_SetResponse) {}
rpc SetBatch (_SetBatchRequest) returns (stream _SetResponse) {}
rpc SetIf (_SetIfRequest) returns (_SetIfResponse) {}
rpc SetIfNotExists (_SetIfNotExistsRequest) returns (_SetIfNotExistsResponse) {}

// Deprecated because we have SetIf - Absent to cover this case.
rpc SetIfNotExists (_SetIfNotExistsRequest) returns (_SetIfNotExistsResponse) {
option deprecated = true;
}
rpc Delete (_DeleteRequest) returns (_DeleteResponse) {}
rpc KeysExist (_KeysExistRequest) returns (_KeysExistResponse) {}
rpc Increment (_IncrementRequest) returns (_IncrementResponse) {}
Expand Down

0 comments on commit 301d428

Please sign in to comment.