You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 10, 2024. It is now read-only.
Hi @dduan currently I found a problem when trying to do Just.get().
from what I see, there is a possibility when doing Just.get() the request is nil when trying to makeTask
// Just.swift
...publicfunc synthesizeRequest(...)->URLRequest?...func makeTask(_ request:URLRequest, configuration:TaskConfiguration)->URLSessionDataTask?...
guard let request =synthesizeRequest()...
// variabel `request` below can be `nil`
iflet task =makeTask(request, configuration: config){
task.resume()}
isn't synthesizeRequest() supposed return URLRequest without nil?
This only happens in production build and I can't reproduce the crash.
Xcode 11.1
Swift 5
Hi @dduan currently I found a problem when trying to do
Just.get().from what I see, there is a possibility when doing
Just.get()therequestisnilwhen trying tomakeTaskisn't
synthesizeRequest()supposed returnURLRequestwithoutnil?This only happens in production build and I can't reproduce the crash.
Xcode 11.1
Swift 5