-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Description
There have been some changes made to the meilisearch-go api. One of them including what type is being used to update the filterable attributes. Instead of strings, we now use an interface array, which is not reflected on the README and can be therefore confusing to beginners.
Basic example
task, err := index.UpdateFilterableAttributes(&[]string{"id", "genres"})would become
task, err := index.UpdateFilterableAttributes(&[]any{"id", "genres"})
//I am aware it's an interface, but any is just a reference to interface anyways.While i'm not sure how many routes have been affected, updating the docs is crucial to not frustrate unaware developers.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation