When navigation is based on decisions then you can benefit from unit testing the logic. One way to test the logic is to extract the decisions and then unit test those cases.
#swiftui
I am playing around with this idea that instead of creating a separate DTO object like RegisterRequest, I am sending the same RegisterForm to the server. If I had to create RegisterRequest, it would look exactly like RegisterForm.
However, if in the future registration