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

Possible storage client interface changes #1581

Open
Alan-Cha opened this issue Aug 16, 2023 · 0 comments
Open

Possible storage client interface changes #1581

Alan-Cha opened this issue Aug 16, 2023 · 0 comments
Assignees
Labels
kind/question An Iter8 related question

Comments

@Alan-Cha
Copy link
Member

We continue to extend the interface with more and more functions to retrieve and save data based on different keys.

Should we consider only having a single method in the interface, generic retrieve and send data methods based on an arbitrary key?

Then, we can create a wrapper for the interface that can utilize the generic retrieve and send data methods for all the different keys.

This may simplify the design of the interface and make it easier to implement the method for other databases. However, we do not know realistically how often users will implement the interface for other databases and whether or not this generic function makes sense for those other databases.

@Alan-Cha Alan-Cha self-assigned this Aug 16, 2023
@Alan-Cha Alan-Cha added the kind/question An Iter8 related question label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question An Iter8 related question
Projects
None yet
Development

No branches or pull requests

1 participant