Replies: 1 comment 2 replies
-
I think you would need a ReducerReader introduced as a draft in this PR, and also to forgo the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
like this:
Reduce(core(:_:))
.forEach(.path, action: .path)
.dependency(.myDependency) { state in
if state.isPremium {
return PremiumService()
} else {
return FreeService()
}
}
Beta Was this translation helpful? Give feedback.
All reactions