Skip to content
简体中文

Define domain rules ​

Start with one state object and give it methods for permitted changes. When you hand state to a view or a save, return the snapshot the consumer needs. Next, see how the order use case calls a service.

Apache License 2.0