Skip to content

WIP: Adapter architecture#4

Draft
alexanderatallah wants to merge 9 commits intomainfrom
adapter
Draft

WIP: Adapter architecture#4
alexanderatallah wants to merge 9 commits intomainfrom
adapter

Conversation

@alexanderatallah
Copy link
Owner

  • Adapters inherit from an abstract class in src/adapters/base.ts. That way we can enforce implementation of each method.
  • Adapters must also support transactions, which (for IORedis) work with a non-overlapping set of methods. so a separate class is used for that.

Thoughts? Does this work for REST-based clients?

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.

1 participant