Closed larryonoff closed 4 weeks ago
@larryonoff Can you add a test that would have failed/crashed before the fix?
@larryonoff Can you add a test that would have failed/crashed before the fix?
@stephencelis Just updated the tests, failed - before the fix, success - now. Previously, the tests only covered updates from publisher (that handled in the main thread), leaving out perception updates.
@mbrandonw BTW I assume that test part that checks publisher may be deleted. SwiftUI doesn't subscribe to publisher, it uses perception.
Potential fix for the issue https://github.com/pointfreeco/swift-composable-architecture/issues/3247