Value of type 'MoyaProvider
have thie error userProvider.rxRequest(UserAPI.userApi(request: identifyRequest))
'RxSwift', '~> 4.0.0-rc.0'
'Moya/RxSwift', '~> 10.0.0-beta.1'
Hey @zhaoyunyi,
With Moya 9.0 we deprecated the reactive providers. You need to use the rx namespace to access the underlying request method.
userProvider.rx.request(UserAPI.userApi(request: identifyRequest))
Check out the migration guide
And here is the RxSwift documentation
i slove it, it looks like that project cannot cocopods code. I drag MoyaProvider+Rx.swift file in main project
@zhaoyunyi Please use the method I described above 馃槄 The file you re-added has been removed for a reason. It wouldn't be a good idea to rely on this because it will no longer be supported in the upcoming version of Moya.

you are right, but I can not vist those source file in my main project.
So I use this method to fix it temporarily
Do you have the same problem?
@zhaoyunyi can you share your Podfile and Podfile.lock please?



and the code that isn't working for you (sorry, I should have put this in the earlier comment)

I think that's probably the case
This issue has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been auto-closed because there hasn't been any activity for at least 21 days. However, we really appreciate your contribution, so thank you for that! 馃檹 Also, feel free to open a new issue if you still experience this problem 馃憤.
Add to the Podfile:
pod 'Moya/RxSwift'
Most helpful comment
Hey @zhaoyunyi,
With
Moya 9.0we deprecated the reactive providers. You need to use therxnamespace to access the underlyingrequestmethod.Check out the migration guide
And here is the RxSwift documentation