Skip to content

Instantly share code, notes, and snippets.

@laugri
Created December 2, 2018 17:11
Show Gist options
  • Save laugri/66a6fb335b9e6f8760d18d3a7cebddee to your computer and use it in GitHub Desktop.
Save laugri/66a6fb335b9e6f8760d18d3a7cebddee to your computer and use it in GitHub Desktop.
DDD example - domain service
// 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