meilisearch / meilisearch-dart

The Meilisearch API client written for Dart
https://meilisearch.com
MIT License
77 stars 26 forks source link

Make query param in `IndexSearchQuery` optional #321

Closed brunoocasali closed 1 year ago

brunoocasali commented 1 year ago

I'm not sure if this was "breaking" before, but while I was updating the code samples for this #320

I started receiving this error:

image

So we need to fix it, because the IndexSearchQuery should not require a query param, only an indexUid.

ahmednfwela commented 1 year ago

I think it makes sense to make it optional, since it will get removed if it's null anyway