And this tool really is thanks to the fact that we are using value types for our domain. If we were using reference types this just would not be possible because we couldn’t capture a copy of state before running the action, and then compare to state after running the action.
OK, so this is all looking great. There are probably a few more tests that could be written, but let’s start moving onto more exciting things.
Right now we have two features built in the Composable Architecture, the standups list and the standup form, and they are supposed to be intimately related. We are supposed to be able to present the form view from the list view in a sheet when the “Add” button is tapped, and then further facilitate communication between these features to add a standup to the root list.
Let’s start doing that work, and get our first peek into what navigation looks like in the Composable Architecture.