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

Allow usage of rx.disposeBag alongside rx_disposeBag #29

Merged
merged 2 commits into from
Jan 2, 2017

Conversation

freak4pc
Copy link
Member

@freak4pc freak4pc commented Dec 27, 2016

It seems to me having disposeBag scoped into the rx. prefix feel more in-line with the rest of How RxSwift 3.0 behaves, so felt this would be a nice touch-up. Of course totally open to any feedback.

This allows using .addDisposableTo(rx.disposeBag)

Thanks! :-)

It seems to me having disposeBag scoped into the `rx.` prefix feel more in-line with the rest of the library's behavior, so felt this would be a nice touch-up. Of course totally open to any feedback. 

This allows `.addDisposableTo(rx.disposeBag)`
@freak4pc
Copy link
Member Author

freak4pc commented Dec 27, 2016

Seems like the integration test is failing for every PR pushed ?

Error seems to indicate perhaps some clean needs to be made, or add the specific RxSwift version to the Podfile ? I saw another suggestion of running pod repo update and commit those changes to the CI, but that would probably be a different PR ...

@ashfurrow
Copy link
Member

Yeah, CI is currently broken (tracking in #23).

This is a clever workaround, would you mind adding a note in the changelog first? Thanks!

Updated Changelog.md for PR RxSwiftCommunity#29 - Allow usage of rx.disposeBag alongside rx_disposeBag
@freak4pc
Copy link
Member Author

Sure thing, Done :) Hope this looks fine !

Thanks for the feedback 💯

@ashfurrow ashfurrow merged commit a578b94 into RxSwiftCommunity:master Jan 2, 2017
@ashfurrow
Copy link
Member

Thanks a lot for contributing! I've invited you to join the RxSwiftCommunity GitHub organization – no pressure to accept! If you'd like more information on what that means, check out our contributor guidelines and feel free to reach out with any questions.

@freak4pc
Copy link
Member Author

freak4pc commented Jan 2, 2017

Thanks a lot @ashfurrow . Gladly accept and hope to keep on contributing in any ways possible :)

One more thing I noticed about this is I didn't include a setter for the rx.disposeBag, so there's no way to currently manually dispose it by self.rx.disposeBag = DisposeBag().

Should that be pushed directly or as a separate PR ?

@ashfurrow
Copy link
Member

Let's put it in a separate PR, no rush!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants