Visitar URL original
Consolidating PullRequestStatusCircle change handlers by StanleyGoldman · Pull Request #2209 · github/VisualStudio · GitHub
The Wayback Machine - https://web.archive.org/web/20201215051504/https://github.com/github/VisualStudio/pull/2209
Skip to content
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

Consolidating PullRequestStatusCircle change handlers #2209

Merged
merged 2 commits into from Feb 4, 2019

Conversation

@StanleyGoldman
Copy link
Contributor

@StanleyGoldman StanleyGoldman commented Feb 1, 2019 •

After some conversation with @grokys I learned that I was using the change handlers incorrectly. I assumed the handler's purpose was to set the value on the instance, but I realize that the method is called after the value is already set on the instance. That allows the methods to be simpler.

Related to : #2145

@StanleyGoldman StanleyGoldman requested review from grokys and jcansdale Feb 1, 2019
@grokys
grokys approved these changes Feb 1, 2019
Copy link
Contributor

@grokys grokys left a comment

Ah yes, that looks better!

Copy link
Collaborator

@jcansdale jcansdale left a comment

Nice bit of simplification. 🎈 LGTM!

@jcansdale jcansdale merged commit 625e502 into master Feb 4, 2019
4 checks passed
4 checks passed
MSBuild Log 0 errors - 780 warnings
Details
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
github.VisualStudio Build #20190201.15 succeeded
Details
@jcansdale jcansdale deleted the fixes/pull-request-status-circle branch Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.