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

Multiple endpoint support #41

Open
abose opened this issue Feb 2, 2023 · 0 comments
Open

Multiple endpoint support #41

abose opened this issue Feb 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@abose
Copy link
Member

abose commented Feb 2, 2023

Currently, the coco client can only support one endpoint, we should have an API that can generate new clients without breaking backward compatibility.

For Eg. there will be the global init and other apis that esisst as is now, then we can have another API client=createClient(endpoint, apiKey) and then call client.close(), client.createDatabase() or other apis. This will ensure backward compatibility as well as new apis.

@abose abose added the enhancement New feature or request label Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant