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

improvement: expose CircuitBreaker ctor #366

Merged
merged 2 commits into from
Aug 20, 2019
Merged

Conversation

lance
Copy link
Member

@lance lance commented Aug 15, 2019

BREAKING CHANGE

Instead of requiring the use of a factory function, which has
no real purpose other than introducing a layer of indirection,
we should really just be exposing the CircuitBreaker constructor
function.

Fixes: #364

BREAKING CHANGE

Instead of requiring the use of a factory function, which has
no real purpose other than introducing a layer of indirection,
we should really just be exposing the CircuitBreaker constructor
function.

Fixes: #364
@nodeshift nodeshift deleted a comment Aug 15, 2019
@nodeshift nodeshift deleted a comment Aug 15, 2019
@nodeshift nodeshift deleted a comment Aug 15, 2019
@nodeshift nodeshift deleted a comment Aug 15, 2019
@nodeshift nodeshift deleted a comment Aug 15, 2019
@nodeshift nodeshift deleted a comment Aug 15, 2019
@nodeshift nodeshift deleted a comment Aug 15, 2019
@nodeshift nodeshift deleted a comment Aug 15, 2019
@nodeshift nodeshift deleted a comment Aug 15, 2019
Copy link
Member

@lholmquist lholmquist left a comment

Choose a reason for hiding this comment

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

looks good. a nice side effect is that is cleans up the docs too

@lance lance merged commit 7088da7 into master Aug 20, 2019
@lance lance deleted the 364-remove-factory-function branch August 20, 2019 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove factory function and expose constrctor
3 participants