Leantime/leantime

Move all repo calls from controllers to services

Open

#1,532 创建于 2023年3月31日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)PHP (957 fork)batch import
Help Wantedgood-first-issue

仓库指标

Star
 (9,827 star)
PR 合并指标
 (平均合并 12小时 22分钟) (30 天内合并 61 个 PR)

描述

The controllers should not be calling the repos directly. Instead they should call a service method. The service layer should be the layer calling the repo.

As such the task is to go through all controllers and update repository calls to be service calls. If the method does not exist in the service a wrapper service method should be created.

贡献者指南