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

Export Memcached and Redis client types #453

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Conversation

56quarters
Copy link
Contributor

What this PR does:

Instead of returning the RemoteCacheClient interface from their constructors, return the actual type of the client. This lets callers decide how they want to use the clients and not be restricted to only the methods supported by the interface.

Which issue(s) this PR fixes:

Part of #452

Checklist

  • [NA] Tests updated
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copy link
Member

@rlankfo rlankfo left a comment

Choose a reason for hiding this comment

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

LGTM

Instead of returning the `RemoteCacheClient` interface from their
constructors, return the actual type of the client. This lets callers
decide how they want to use the clients and not be restricted to only
the methods supported by the interface.

Part of #452

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
@56quarters 56quarters merged commit 6d92902 into main Dec 20, 2023
3 checks passed
@56quarters 56quarters deleted the 56quarters/cache-export branch December 20, 2023 23:18
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.

None yet

2 participants