Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis Service #552

Merged
merged 1 commit into from
Feb 21, 2022
Merged

Redis Service #552

merged 1 commit into from
Feb 21, 2022

Conversation

anatolysergeev
Copy link
Collaborator

@anatolysergeev anatolysergeev commented Feb 20, 2022

add redis service that include codec and executor
all redis commands depend on redis service
remove redis executor dependency on codec

@anatolysergeev anatolysergeev requested review from mijicd and a team as code owners February 20, 2022 22:37
@anatolysergeev anatolysergeev force-pushed the improvement-sugesstions branch from 712f0c6 to 55bfb99 Compare February 20, 2022 22:41
@@ -39,6 +39,7 @@ package object redis
with options.Scripting {

type Id[+A] = A
type Redis = Has[Redis.Service]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's start moving towards the new module encoding. This assumes the following:

  • remove the type aliases like this
  • extract the Services to top-level traits
  • propagate

Copy link
Collaborator Author

@anatolysergeev anatolysergeev Feb 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hope, I did it as you meant, didn't i?)

all redis commands depend on redis service
remove redis executor dependency from codec
@anatolysergeev anatolysergeev force-pushed the improvement-sugesstions branch from 55bfb99 to 915a517 Compare February 21, 2022 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants