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

Convert the dump status to an enum #243

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

roelofjan-elsinga
Copy link
Contributor

@roelofjan-elsinga roelofjan-elsinga commented Nov 18, 2021

This change helps to make the status field more consistent between "Update" and "Dump" and fixes #242.

The UpdateStatus field is an enum, but the DumpStatus field is a string.
In the docs, these fields have a set number of possibilities and that's why it'd be proper to make DumpStatus an enum, rather than a string.

@alallema alallema added skip-changelog The PR will not appear in the release changelogs and removed skip-changelog The PR will not appear in the release changelogs labels Nov 18, 2021
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.

Thanks a lot, @roelofjan-elsinga for contributing to Meilisearch ❤️
LGTM! ✨

@alallema
Copy link
Contributor

bors merge

@bors
Copy link
Contributor

bors bot commented Nov 23, 2021

@bors bors bot merged commit 5af8950 into meilisearch:main Nov 23, 2021
@alallema alallema added the breaking-change The related changes are breaking for the users label Nov 23, 2021
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.

Convert the dump status field to an enum
2 participants