-
Notifications
You must be signed in to change notification settings - Fork 87
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
Method to get all the indexes should return a list of instance #201
Labels
good first issue
Good for newcomers
Comments
Can I please work on this? |
Please go @kashifsoofi :) |
It already returns a list of |
Yes you right, but you can still implemented the |
Actually I am not sure about the output for |
rizalgowandy
pushed a commit
to rizalgowandy/meilisearch-go
that referenced
this issue
Oct 9, 2021
Issue: meilisearch#201 Extra: run gofmt the whole project
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the
get_all_indexes
method returns a raw list of object, but not a list ofIndex
instance. This is the only index-related method that does not return anIndex
instance.An instance is more convenient to manipulate than a raw object. See this example.
TODO
get_all_indexes
: make it return a list ofIndex
instancesget_all_raw_indexes
: a method that returns the list of object of indexes, so the response of the MeiliSearch server.get_all_raw_indexes
inget_all_indexes
.Related to meilisearch/integration-guides#122
get_all_indexes
might be named differently in this package. Keep the already existing way of naming in this package to stay idomatic with the language and the repository.Sorry if this is already partially/completely implemented, feel free to let me know about the state of this issue.
The text was updated successfully, but these errors were encountered: