-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Removes SearchedIssue and SearchedPullRequest wrappers #4102
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
Conversation
78da759 to
3cb128e
Compare
3cb128e to
316b018
Compare
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.
On a scan., LGTM.
Lots of touched areas to test here - would be easier in the pre-release.
| filterUsed?: IssueFilter, | ||
| userLogin?: string, | ||
| ): SearchedIssue | undefined { | ||
| export function toSearchedIssue(issue: ProviderIssue, provider: ProviderReference): IssueShape | undefined { |
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.
Probably to rename to something like:
| export function toSearchedIssue(issue: ProviderIssue, provider: ProviderReference): IssueShape | undefined { | |
| export function toIssueShape(issue: ProviderIssue, provider: ProviderReference): IssueShape | undefined { |
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.
done
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.
Looks good to me too -- 1 minor nit
316b018 to
867f9d2
Compare
867f9d2 to
36cc563
Compare
I've added testing notes to #4098 |
because reasons are not used anymore (gitkraken#4098, gitkraken#4102)
Removes SearchedIssue and SearchedPullRequest wrappers because reasons are not used anymore (#4098)
Checklist
Fixes $XXX -orCloses #XXX -prefix to auto-close the issue that your PR addresses