Skip to content

Finder application services has different behaviours. Why? #314

Description

@palgalik

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions