multibit-merchant
multibit-merchant copied to clipboard
Refactor DAOs as Read/Write services targeting MongoDB collections
Read/Write services following the CQRS pattern remove the currently anaemic service/DAO structure and replace it with a dedicated Read service for queries targeting particular use cases, and a simple Write service for create/update operations.
The intention is to create an optimal flow between the REST API and the Persistence API for simple queries that don't involve domain objects.