You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now - the RedisPipeline.execute() method resolves [RESPValue] - but this creates an unwieldy API compared to how RedisClient in general behaves.
In enqueue(operation:) the eventual resolves value is just ignored and discarded - but it would be nice to be able to capture the type information to somehow instead return [RESPValueEncodable] or have a way to grab in a reliable, non-optional, type-safe way the actual return values from the RedisClient interface so that it's consistent.
Right now, commands like zpopmax(from:max:) have a relatively complex response structure that users of RedisPipeline are left to figure out themselves, lest we just expose our helper method _mapSortedSetResponse(_:scoreIsFirst:)
The text was updated successfully, but these errors were encountered:
Right now - the
RedisPipeline.execute()
method resolves[RESPValue]
- but this creates an unwieldy API compared to howRedisClient
in general behaves.In
enqueue(operation:)
the eventual resolves value is just ignored and discarded - but it would be nice to be able to capture the type information to somehow instead return[RESPValueEncodable]
or have a way to grab in a reliable, non-optional, type-safe way the actual return values from theRedisClient
interface so that it's consistent.Right now, commands like
zpopmax(from:max:)
have a relatively complex response structure that users ofRedisPipeline
are left to figure out themselves, lest we just expose our helper method_mapSortedSetResponse(_:scoreIsFirst:)
The text was updated successfully, but these errors were encountered: