zio / zio-redis

A ZIO-based redis client
https://zio.github.io/zio-redis
Apache License 2.0
123 stars 63 forks source link

Implement server API #159

Closed mijicd closed 1 week ago

mijicd commented 3 years ago

Extracted from this comment authored by @regis-leray.

Commands

Tips

hcwilhelm commented 2 years 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

mijicd commented 2 years ago

All yours. Regarding the chat, let's catch up sometimes next week.

hcwilhelm commented 2 years ago

@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

mijicd commented 2 years ago

@hcwilhelm draft PR would be great :pray:

hcwilhelm commented 2 years ago

@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.

Draft PR: https://github.com/zio/zio-redis/pull/529