beergode / tech-thrive-catalyst

New Ideas are Born in a High Stack Oasis
3 stars 0 forks source link

Domain Services should be DI'd into the Spring's IOC #2

Closed berkayerten closed 4 months ago

berkayerten commented 4 months ago

Beans under domain module should be registered to Spring's (IOC) Container.

This can be achiieved by annotation the services under domain module as @DomainComponent or similar. Then the annotated classes should be collected to be injected into the IOC.

mehmetugurakpinar commented 4 months ago

I am assigning this tast to myself if it is okay for you as well. Please feel free to contact me if you have any other ideas or suggestions regarding it.

berkayerten commented 4 months ago

Thank you @mehmetugurakpinar, sounds good!

berkayerten commented 4 months ago

Is it easy to follow hexagonal-demo repository to implement a similar approach here?

mehmetugurakpinar commented 4 months ago

I think yes. Not looking so hard. I'll keep you informed soon.

berkayerten commented 4 months ago

@gokhandegerli This issue is resolved. You should be unblocked