Closed mijicd closed 1 week ago
I would like to take this one.
I started to implement a couple of commands from the Server API and quickly run into some quite complex ones like ACL SETUSER. It would be nice if I could chat with somebody about how to model the input's and output of such commands in a proper ADT, or if that is a bit too much how we can represent this in a more general data structure.
Here is the branch I am working on https://github.com/hcwilhelm/zio-redis/tree/server_api
All yours. Regarding the chat, let's catch up sometimes next week.
@mijicd I am slowly making progress on this one. Would you mind taking a look at my branch or would you prefer a draft PR ?
Branch is here: https://github.com/hcwilhelm/zio-redis/tree/server_api
@hcwilhelm draft PR would be great :pray:
@mijicd ok, here it is. As mentioned in the PR description please ignore the changes in the ApiSpec object, I mainly removed everything except the test where I am working on.
Extracted from this comment authored by @regis-leray.
Commands
Tips
zio.redis.api
.zio.redis.options
.zio.redis.Input
andzio.redis.Output
, respectively.zio.redis.InputSpec
andzio.redis.OutputSpec
, respectively.zio.redis.ApiSpec
.