kean / Get

Web API client built using async/await
MIT License
937 stars 74 forks source link

Concurrency warning #53

Closed wmorgue closed 1 year ago

wmorgue commented 2 years ago

Hello 👋🏻

After switching the compiler option Strict Concurrency Checking to Complete, I received the warning below:

⚠️ Non-sendable type '(inout APIClient.Configuration) -> Void' passed in call to nonisolated initializer 'init(baseURL:_:)' cannot cross actor boundary.

Screen Shot 2022-08-29 at 14 10 20

Just informing, I don't know how important it is. Xcode 14.0 beta 5 | Get 1.0.1

kean commented 2 years ago

I see more warnings with a Complete mode enabled in Xcode 14.0. I'm not yet sure how to address them all. They are all false positives as far as I can tell.

kean commented 1 year ago

Fixed in 2.1.3