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

feat: make CacheDriver use generics #849

Closed
wants to merge 0 commits into from
Closed

Conversation

sevki
Copy link

@sevki sevki commented Oct 14, 2024

Hey folks,

I've started playing with loco, and I wanted to contribute something back.

I've seen #777 and #522, while those are very exciting changes, I think this may be orthogonal to those.

CacheDriver trait currently operates over &str which means it's
not really possible to use u64 or uuid or other fixed sized keys.

This change makes it possible to use types other than &str.

@sevki
Copy link
Author

sevki commented Oct 14, 2024

I expect there will be some notes on this as this is my first contribution, hence why this is in draft mode.

I'd like to get some early feedback before going ahead with a full implementation

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