We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Режим мока запросов в сочетании с chained requests не работает как предполагалось.
Например:
Api.users.all() .and(Api.bills.all()) .onError { error in // some error handling } .onSuccess { users , bills in // handle all data }
Выполнение кода не заходит ни в один из блоков, ни в onError, ни в onSuccess. При этом в структуру отвечающую за мок отладчик заходит
onError
onSuccess
struct Mock: MockResponder { static func proceed(_ request: MockRequest, completion: @escaping (MyStruct?, NetworkError?) -> Void) throws { try completion(somedata, nil) } }
Используемая версия: 1.15.4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Режим мока запросов в сочетании с chained requests не работает как предполагалось.
Например:
Выполнение кода не заходит ни в один из блоков, ни в
onError
, ни вonSuccess
. При этом в структуру отвечающую за мок отладчик заходитИспользуемая версия: 1.15.4
The text was updated successfully, but these errors were encountered: