--
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If possible I would prefer to pass in the domain objects but there are some scenarios that doesn't make sense.
On Tuesday, January 6, 2015, Muhammad Bilal <bilal...@gmail.com> wrote:
Hello Everyone!--
I'm new to DDD. I have a scenario that I have some validations and some business rules which I need to perform, so I'm making some validation service(which is a domain service) and the service needs to access data from repository. So my question is that can we inject Repositories in Domain Service? Or should I pass the specific entities/VO to domain service which are needed for validation from Application Service? Please suggest me which approach is better?
Thanks,
Bilal
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yeah it seems more logical.--
Thanks for the reply :)
On Tuesday, January 6, 2015 5:21:39 PM UTC+5, Greg Young wrote:If possible I would prefer to pass in the domain objects but there are some scenarios that doesn't make sense.
On Tuesday, January 6, 2015, Muhammad Bilal <bilal...@gmail.com> wrote:Hello Everyone!--
I'm new to DDD. I have a scenario that I have some validations and some business rules which I need to perform, so I'm making some validation service(which is a domain service) and the service needs to access data from repository. So my question is that can we inject Repositories in Domain Service? Or should I pass the specific entities/VO to domain service which are needed for validation from Application Service? Please suggest me which approach is better?
Thanks,
Bilal
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Studying for the Turing test
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If possible I would prefer to pass in the domain objects but there are some scenarios that doesn't make sense.
On Tuesday, January 6, 2015, Muhammad Bilal <bilal...@gmail.com> wrote:
Hello Everyone!--
I'm new to DDD. I have a scenario that I have some validations and some business rules which I need to perform, so I'm making some validation service(which is a domain service) and the service needs to access data from repository. So my question is that can we inject Repositories in Domain Service? Or should I pass the specific entities/VO to domain service which are needed for validation from Application Service? Please suggest me which approach is better?
Thanks,
Bilal
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.