Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

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

Copy link
Contributor

@grokys grokys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, that looks better!

Copy link
Collaborator

@jcansdale jcansdale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice bit of simplification. 🎈 LGTM!

@jcansdale jcansdale merged commit 625e502 into master Feb 4, 2019
@jcansdale jcansdale deleted the fixes/pull-request-status-circle branch February 4, 2019 15:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants