Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finder application services has different behaviours. Why? #314

Open
palgalik opened this issue Jul 5, 2022 · 0 comments
Open

Finder application services has different behaviours. Why? #314

palgalik opened this issue Jul 5, 2022 · 0 comments

Comments

@palgalik
Copy link

palgalik commented Jul 5, 2022

Why course and video application services behave differently in Mooc context?

CourseFinder (\CodelyTv\Mooc\Courses\Application\Find\CourseFinder) has the dependencyCourseRepository , and the class invoke method uses it directly.

On the other hand, VideoFinder (\CodelyTv\Mooc\Videos\Application\Find\VideoFinder) application service instantiates a domain finder (\CodelyTv\Mooc\Videos\Domain\VideoFinder), passing the repository as argument.

Can you explain the what's the intention behind it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant