Codable, SwiftConcurrency, Swift 6 - Fundamentally incompatible?

Maybe region based isolation plus transferring closures will be the ointment here. You'll still need to remove the @MainActor annotations on the non isolated protocol conformances, however.

This post gives a good summary:

IIUC, this should allow you to construct your @MainActor destined class off the main actor, then pass it to the @MainActor once constructed.

2 Likes