Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update keys api #252

Merged
merged 23 commits into from
Feb 14, 2022
Merged

Update keys api #252

merged 23 commits into from
Feb 14, 2022

Conversation

bidoubiwa
Copy link
Contributor

@bidoubiwa bidoubiwa commented Feb 7, 2022

Keys API changes!

Breaking

  • client.getkeys now returns a Results<Key> object see specification

New

  • client.getKey returns a Key object of a specific key
  • client.createKey returns a Key object created with a KeyParams object
  • client.updateKey returns a Key object with the updated key
  • client.deleteKey returns void as the chosen key has been deleted

@bidoubiwa bidoubiwa added the breaking-change The related changes are breaking for the users label Feb 8, 2022
@bidoubiwa bidoubiwa marked this pull request as ready for review February 8, 2022 19:08
Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

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

Hey, @bidoubiwa I left some comments, let me know what do you think about them!

Awesome work! 🎉 🌮

.code-samples.meilisearch.yaml Outdated Show resolved Hide resolved
.code-samples.meilisearch.yaml Show resolved Hide resolved
.code-samples.meilisearch.yaml Outdated Show resolved Hide resolved
.code-samples.meilisearch.yaml Outdated Show resolved Hide resolved
.code-samples.meilisearch.yaml Outdated Show resolved Hide resolved
Tests/MeiliSearchIntegrationTests/KeysTests.swift Outdated Show resolved Hide resolved
Tests/MeiliSearchIntegrationTests/KeysTests.swift Outdated Show resolved Hide resolved
Base automatically changed from update_api_to_task_api to bump-meilisearch-v0.25.0 February 10, 2022 14:59
Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

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

I think we are good to go! 🎉

Let's get this merged!

@bidoubiwa
Copy link
Contributor Author

bors merge

@bors
Copy link
Contributor

bors bot commented Feb 14, 2022

Build succeeded:

@bors bors bot merged commit 93ca47d into bump-meilisearch-v0.25.0 Feb 14, 2022
@bors bors bot deleted the update_keys_api branch February 14, 2022 15:04
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