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

refactor: make storage to string more human friendly #367

Merged
merged 5 commits into from
Jun 27, 2024

Conversation

malandis
Copy link
Contributor

@malandis malandis commented Jun 24, 2024

Overview

Refactors the toString implementations to depart from the cache
client pattern. Ensures human readable toStrings across the board,
adds helpers for trivial toStrings and error-type toStrings.

Examples

Get Response

image

List stores response

image

Delete

image

Store not found error

(error message will be adjusted later)
image

Refactors the `toString` implementations to depart from the cache
client pattern. Ensures human readable `toString`s across the board,
adds helpers for trivial `toString`s and error-type `toString`s.
@malandis malandis requested review from kvcache, a team and nand4011 June 24, 2024 18:12
@malandis malandis marked this pull request as ready for review June 24, 2024 18:12
Copy link
Contributor

@kvcache kvcache left a comment

Choose a reason for hiding this comment

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

Hey this looks great, thanks!

@malandis malandis merged commit e62cff2 into main Jun 27, 2024
5 checks passed
@malandis malandis deleted the refactor/storage-to-string branch June 27, 2024 20:40
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.

3 participants