-
Notifications
You must be signed in to change notification settings - Fork 38
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 it easier to add issues for nodes with name location preference #422
Conversation
cdafec3
to
e103282
Compare
e103282
to
f984d83
Compare
@veelenga This PR fixes CI, btw |
Have you considered a different method name (such as |
@straight-shoota I did considered some, yet it was the best I could come up with atm. I prefer named parameter, since it's a preference only, I see no point of having a dedicated method for it. |
I would say the callsite is more succinct and easier to understand what it means. naming_issue_for node, MSG
#vs
issue_for node, MSG, prefer_name_location: true |
I agree with @straight-shoota that |
Yeah, I agree, although in this case the parameter indicates a preference, not an unconditional behavior, like I've understood you've suggested. Also, naming is a pretty generic term, and doesn't reference name_location, which this feature is all about. |
In this particular context all proposed names: i.e. |
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.
LGTM
No description provided.