Skip to content

Conversation

bidoubiwa
Copy link
Contributor

Related to issue: meilisearch/meilisearch#2371

All the changes:

  • Remove code sample get_dump_status_1
  • Remove method get dump status.
  • A dump creation now responds with a task object from type dumpCreation.
  • The error dump_already_processing don't need to be handled.

Breaking changes

  • Method get_dump_status does not exists on Dumps anymore
  • create_dump now returns an TaskInfo

Usage

let task_info: TaskInfo = client.create_dump().await.unwrap();

assert!(matches!(
  task_info,
     TaskInfo {
          update_type: TaskType::DumpCreation { .. },
           ..
       }
   ));

@bidoubiwa bidoubiwa changed the base branch from main to update_tokens_for_v0.28.0 August 25, 2022 15:42
@bidoubiwa bidoubiwa requested review from alallema and irevoire August 25, 2022 15:43
@bidoubiwa bidoubiwa marked this pull request as ready for review August 25, 2022 15:43
@bidoubiwa bidoubiwa added the breaking-change The related changes are breaking for the users label Aug 25, 2022
Copy link
Contributor

@alallema alallema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🎉

Base automatically changed from update_tokens_for_v0.28.0 to bump-meilisearch-v0.28.0 August 29, 2022 14:46
@bidoubiwa bidoubiwa merged commit 6c11842 into bump-meilisearch-v0.28.0 Aug 29, 2022
@bidoubiwa bidoubiwa deleted the update_dumps_for_v0.28.0 branch August 29, 2022 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change The related changes are breaking for the users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants