meilisearch / meilisearch-rust

Rust wrapper for the Meilisearch API.
https://www.meilisearch.com
MIT License
361 stars 90 forks source link

Improve `IndexConfig` derive macro #616

Open funlennysub opened 2 months ago

funlennysub commented 2 months ago

Pull Request

Related issue

None

What does this PR do?

PR checklist

Please check if your PR fulfills the following requirements:

funlennysub commented 2 months ago

Perhaps if there's no fields with displayed flag, it should default to "*" as meilisearch does, because from my understanding right now it will just set it to an empty array?