-
Notifications
You must be signed in to change notification settings - Fork 105
Rewrite client #150
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
Rewrite client #150
Conversation
4486082 to
390bb39
Compare
15b074c to
cd17447
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work @alallema !
I really think this is improving readability and usability at the same time. The general structure is simplified, without loosing any functionality and making it more friendly. I made a few comments on things that were not clear to me or that I think could be improved, LMKWYT :)
Good job 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Co-authored-by: Samuel Jimenez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything LGTM but from my POV there is a little mistake on the README, can you check?
🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing! 🎉
|
bors merge |
150: Rewrite client r=alallema a=alallema **Description** Start of SDK go modification: - Rewriting of the Client that implements this method: - Index(uid string) - GetIndex(indexID string) - GetAllIndexes() - CreateIndex(config IndexConfig) - GetOrCreateIndex(config IndexConfig) - GetKeys() - GetAllStats() - CreateDump() - GetDumpStatus(dumpUID string) - Version() - GetVersion() - Health() - IsHealthy() - DeleteIndex(uid string) - Rewriting of the Index that implements this method: - FetchInfo() - FetchPrimaryKey() - ChangePrimaryKey() - Delete() - AddDocuments() - UpdateDocuments() - GetDocument() - GetDocuments() - DeleteOneDocument() - DeletesDocuments() - DeleteAllDocuments() - GetAllUpdateStatus() - GetUpdateStatus() - Search() - GetSettings() - UpdateSettings() - ResetSettings() - GetStats() - WaitForPendingUpdate() - DefaultWaitForPendingUpdate() - Removing of intermediates interfaces - Rewriting of sample and Readme for the new usage - Add tests for every method **To do** - Client - [x] Rewrite Client - [x] Add Test to Client - Index - [x] Rewrite Index - [x] Add Tests to Index - [x] Adding test for `WaitForPendingUpdate()` Issue [related](meilisearch/integration-guides#1) - [x] Rewrite Document - [x] Add Tests to Document - [x] Rewrite Search - [x] Add Tests Search - [x] Rewrite Settings - [x] Add Tests Settings Co-authored-by: alallema <[email protected]>
|
bors r- |
|
Canceled. |
|
bors merge |
Description
Start of SDK go modification:
To do
WaitForPendingUpdate()Issue relatedBug
Wrong accepted status code on /health (Health() method) #155