When using the onion architecture, you need to consider the dependencies (actions depend on calculations), but also you need to consider the semantic dependencies (the domain should not know about the database).
don't worry if you don't have an account with us, we'll create one
[{"meta":{"author":"Thoughts on Functional Programming Podcast by Eric Normand","authorlink":""},"src":"https:\/\/media.transistor.fm\/d2485718\/eb4a8ad1.mp3","thumb":{"src":"https:\/\/images.lystnfm.com\/tr:n-app_thumbnail_medium\/podcastsnw-202203\/6069d3-7226-b0bc-2f3190_800.jpg"},"title":"Don't overcomplicate the onion architecture","link":"javascript:;","id":"item-1288231"}]