From 0946eb8b795d37239dbb38fc7648ecc456a85a2c Mon Sep 17 00:00:00 2001 From: Marc Gravell Date: Mon, 12 Oct 2026 10:38:42 +0100 Subject: [PATCH] Fix StringSet(Expiration, ValueCondition) doc link: set, not delex The overload (and StringSetAsync via inheritdoc) pointed at the DELEX command page; it was copied from StringDelete. Also add the missing to match the sibling overloads. Fixes #3269 --- src/StackExchange.Redis/Interfaces/IDatabase.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/StackExchange.Redis/Interfaces/IDatabase.cs b/src/StackExchange.Redis/Interfaces/IDatabase.cs index 131abeb2a..822ee4676 100644 --- a/src/StackExchange.Redis/Interfaces/IDatabase.cs +++ b/src/StackExchange.Redis/Interfaces/IDatabase.cs @@ -3782,7 +3782,8 @@ IEnumerable SortedSetScan( /// The expiry to set. /// The condition to enforce. /// The flags to use for this operation. - /// See . + /// if the string was set, otherwise. + /// See . #pragma warning disable RS0027 // Public API with optional parameter(s) should have the most parameters amongst its public overloads bool StringSet(RedisKey key, RedisValue value, Expiration expiry = default, ValueCondition when = default, CommandFlags flags = CommandFlags.None); #pragma warning restore RS0027