Created
December 2, 2018 17:11
-
-
Save laugri/66a6fb335b9e6f8760d18d3a7cebddee to your computer and use it in GitHub Desktop.
DDD example - domain service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For e-commerce, an example of a domain service would be the checkout step | |
function checkout(shoppingCart: ShoppingCart, ...) { | |
// do service stuff | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment