-
Notifications
You must be signed in to change notification settings - Fork 25
Tasks changes #315
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
Tasks changes #315
Conversation
c84b9f7 to
371dd1f
Compare
| self.tasks.waitForTask(task: task, options: options, completion) | ||
| } | ||
|
|
||
| public func waitForTask( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you forgot to a comment above explaining the function and its parameters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the descriptions of the new classes/types/methods will be done after these PRs being merged :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They will not be in #321 ?
| "type": types.isEmpty ? nil : types.joined(separator: ","), | ||
| "status": status.isEmpty ? nil : status.joined(separator: ","), | ||
| "indexUid": indexUid.isEmpty ? nil : indexUid.joined(separator: ",") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this ternary useful since you are safe guarding above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After your suggestion I had to change to this: "indexUid": indexUid != nil ? indexUid?.joined(separator: ",") : nil
bidoubiwa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors merge
|
🔒 Permission denied Existing reviewers: click here to make bidoubiwa a reviewer |
TasksQueryto handle query string for /tasks callsTasksResultstype to handle the object response in the GET /tasks response.