Call to ListRightPushAsync ambiguous (original) (raw)
With Version 2.2.3, the call to ListRightPushAsync with just two parameters has become ambiguous between
Task ListRightPushAsync(RedisKey key, RedisValue[] values, When when = When.Always, CommandFlags flags = CommandFlags.None); Task ListRightPushAsync(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None);
Is this a regression?
I'm calling it as
public Task RightPushAsync(string key, IEnumerable values) { return database.ListRightPushAsync(key, values.Select(v => (RedisValue)v).ToArray()); }
Seems to me like the overload Task<long> ListRightPushAsync(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None); is redundant, isn't it?