Why not rename ReducerProtocol to Reducer right away? #1654
Replies: 2 comments 4 replies
-
Hey @chernousov-m! The |
Beta Was this translation helpful? Give feedback.
-
Hi @chernousov-m, we believe that breaking changes fall on a spectrum, and are not an absolute. The breaking change of adding the await store.send(.tap, {
$0.count += 1
}) We think this is a tiny minority of people, especially since Xcode automatically expands closures to be the trailing syntax. And as for the re-ordering of generics, I'm not actually able to see that. Both before and after #1599 I'm seeing the same generics: <State, Action, ScopedState, ScopedAction, Environment> But, if there really was a change in generics, it would only affect people who decided to explicitly spell out generics when creating test stores, or when extending On the other hand, renaming |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Since you've already made a few breaking changes (here you changed the generic parameters order, and here you added the name
assert
to the parameter inTestStore
's send method) I don't see any reason why you should wait with the Reducer renamingAm I missing something?
Beta Was this translation helpful? Give feedback.
All reactions