-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add generic type to TaskInfoType
to handle new Task
type
#385
Labels
Comments
alallema
added
enhancement
New feature or request
good first issue
Good for newcomers
labels
Dec 27, 2022
I have added the "Unknown" type in the enum. What next? Updating the tests @alallema |
Hello @postmeback I don't see th Unknown type
|
In my branch, I have added https://github.com/postmeback/meilisearch-dotnet/blob/main/src/Meilisearch/TaskInfo.cs |
Shall I improve the tests next ? |
Yes, please, always add/improve the tests if possible when adding new things to the repo 😊 |
meili-bors bot
added a commit
that referenced
this issue
Aug 3, 2024
542: Add `Unknown` type to `TaskInfoType` r=ahmednfwela a=postmeback # Pull Request ## Related issue Fixes #385 ## What does this PR do? - Currently, it adds the "Unknown" type to the enum. It requires more tasks to do ## 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! Co-authored-by: postmeback <[email protected]> Co-authored-by: Clémentine <[email protected]> Co-authored-by: Ahmed Fwela <[email protected]> Co-authored-by: Arka Poddar <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
All types of tasks are grouped in an enum
TaskInfoType
But if a new task type is created there will be a break.
Suggestion
To avoid breaking when a new
Task
type is created, it would be great to create a generic type such asunknown
that will handle all types that do not belong to the existing enum.The text was updated successfully, but these errors were encountered: