sergdort / CombineFeedback

Unidirectional reactive architecture using new Apple Combine framework https://developer.apple.com/documentation/combine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is Builder intended to be included in the library?

kaishin opened this issue · comments

Following the examples in my own project, I realized that the Builder helper protocol is not part of the library. Is that an oversight or should I just copy the set method directly in my own project?

Hey @kaishin I've now changed Reducer signature from (State, Event) -> State to be (inout State, Event) -> Void so there is no need for Builder helper anymore, just make properties of your State struct var is they intent to be mutable

Thanks!

Feel free to close or leave the issue open as you see fit.