Replies: 2 comments
-
|
Hi @Juribu, this is a problem with default main actor isolation in Swift 6.2 and not this library. If you really want to use that setting you will find you need to sprinkle a liberal amount of Since this isn't an issue with the library I am going to convert it to a discussion. Please feel free to continue the conversation over there! |
Beta Was this translation helpful? Give feedback.
-
|
wow changing default actor isolation helped! How did you know it was in default main actor?? I was up 5 hours last night trying to figure out whats wrong and couldnt get anywhere |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'm getting this issue of circular reference. How do I resolve it?
The issue is with the macro as when I used the non macro version, it worked. But in a different project, the macro works with var body: some ReducerOf
import Foundation
import ComposableArchitecture
@Reducer
struct Pomodoro {
@ObservableState
struct State: Equatable {
var isTimerActive = false
}
}

Checklist
mainbranch of this package.Expected behavior
Actual behavior
No response
Reproducing project
No response
The Composable Architecture version information
1.23.0
Destination operating system
No response
Xcode version information
xcode 26
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions