Welcome to Factory Discussions! #59
Replies: 2 comments
-
|
Migration Swift 6.2 with Factory 3.0 I m currently working on app where I try to evaluate the effort to migrate to Swift6.2 To start this migration, I used Factory develop branch to have 3.0 But if I activate in my Package.swift the setting .defaultIsolation(MainActor.self), I have problems. I have problems to call Container autoRegister (Call to main actor-isolated static method 'autoRegister' in a synchronous nonisolated context)... so I tried to embed it inside a Task @mainactor, it compiled well but it crash inside a UseCase using @injected(.xxxx). Task 23: Fatal error: DeleteSynchronizedDocumentsUseCaseProtocol was not registered Do you have already find a good strategy about migration Swift 6.2 and factory ? Thank you for your recommandations. |
Beta Was this translation helpful? Give feedback.
-
|
There are several issues at play here, including the one you encountered. At this point in time my only suggestion is to create your own |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
Beta Was this translation helpful? Give feedback.
All reactions