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

Removed ReactiveCompatible & Reactive conformance to objects #2285

Merged
merged 3 commits into from
Feb 10, 2021

Conversation

iDevid
Copy link
Contributor

@iDevid iDevid commented Feb 3, 2021

As explained in the issue #2270, ReactiveCompatible & Reactive protocols are from RxSwift 6 only class protocols due to the @dynamicMemberLookup approach.

With this pull request, I removed the limit of the class protocols without removing the @dynamicMemberLookup approach.

@freak4pc
Copy link
Member

freak4pc commented Feb 3, 2021

Very simple and elegant solution! I'll run a few tests but if it passes I'm happy to merge it.
Thank you!

@iDevid
Copy link
Contributor Author

iDevid commented Feb 3, 2021

Hi, I checked test errors, and I discovered that during RxSwift 6.0 development you changed the ReactiveTests paradigm.
I reverted that to precedent version because now ReactiveCompatible could be also a Struct, so the compiler doesn't know what's behind the rx wrapper.

@freak4pc
Copy link
Member

freak4pc commented Feb 7, 2021

@iDevid looks good. I'll add a few more tests to improve the coverage of cases here, thank you!

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