aicore / aicore/cocoDbWsClient
Multiple endpoint support
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 0
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating the current global initialization and endpoint-dependent APIs, then trace how a client is created and closed; done means adding a createClient(endpoint, apiKey) path for multiple clients while preserving the existing APIs and supporting client.close() and client.createDatabase().
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100