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
public extension Endpoint { // swiftlint:disable cyclomatic_complexity /// Returns the `Endpoint` converted to a `URLRequest` if valid. Throws an error otherwise. func urlRequest() throws -> URLRequest { guard let requestURL = Foundation.URL(string: url) else { throw MoyaError.requestMapping(url) } var request = URLRequest(url: requestURL) request.httpMethod = method.rawValue request.allHTTPHeaderFields = httpHeaderFields switch task {
crash with EXE_BAD_ACCESS at task above in alamofire lib for only release configuration works fine in debug.
Moya current → case requestParameters(parameters: [String: Any], encoding: ParameterEncoding) Alamofire.ParameterEncoding
Should also support → case requestParameters(parameters: [String: Any], encoding: URLEncoding) Alamofire.URLEncoding
The text was updated successfully, but these errors were encountered:
No branches or pull requests
crash with EXE_BAD_ACCESS at task above in alamofire lib for only release configuration
works fine in debug.
Moya current →
case requestParameters(parameters: [String: Any], encoding: ParameterEncoding)
Alamofire.ParameterEncoding
Should also support →
case requestParameters(parameters: [String: Any], encoding: URLEncoding)
Alamofire.URLEncoding
The text was updated successfully, but these errors were encountered: