meilisearch-rust icon indicating copy to clipboard operation
meilisearch-rust copied to clipboard

Fix deleted_tasks field type in TaskDeletion struct

Open coinmoles opened this issue 7 months ago • 0 comments

Pull Request

Related issue

Fixes #665

What does this PR do?

  • Change the type of deleted_tasks field in TaskDeletion from usize to Option<usize>
    • This should be Option<usize> since it can be null according to the API documentation

PR checklist

Please check if your PR fulfills the following requirements:

  • [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • [x] Have you read the contributing guidelines?
  • [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

coinmoles avatar May 02 '25 10:05 coinmoles