2
I have a question about a project that follows the DDD architecture model.
In a service model I need information that is the result of a method from another service, which is the correct way for me to get this information, i create a property of that service and place it in the constructor to do the dependency injection or I must get this information in the previous layer, the same one I call this first service and pass this value as parameter?
My doubt if from the pq I created the second service property and did the dependency injection but then gave error pq says that there are references of cyclic dependency injection and need to remove the property of that second service and dependency injection.
Do you have code? I could ask the question so we can help you better?
– PauloHDSousa