-
Notifications
You must be signed in to change notification settings - Fork 27
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
Make the type of a Task a enum of values #363
Comments
Hii, |
Hi! @Dishant10. Good to see you again! This issue is very straightforward! Something I could add to it is the value of the enum should be sent as camelCase eg. "indexUpdate", even if the enum key is You don't need to be assigned to the issue, we usually don't do it since people may not come back! And this could prevent other potential developers to contribute! See you soon! Let me know if you have any doubts! |
Got it! Let me try this one. I'll ask if I get stuck somewhere. |
I've raised a PR, please review it. I'll make any changes if needed. |
In
/Sources/MeiliSearch/Model/Task.swift
:The attribute
public let type: String
should become an enum.The possible values are:
The text was updated successfully, but these errors were encountered: