andersao / andersao/l5-repository
Apply criteria on 'with' relation
Đang mở
enhancement
idea
verify
- Ngôn ngữ chính
- PHP
- Star
- 4.2k
- Fork
- 880
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
say we have this query:
``` php
$posts = $this->PostRepository->with('comments')->all();
```
if there is a criteria class out there for `CommentRepository` it wont be applied because `with` will refer to Model not it's repository. so how should i apply criteria to models called by `with` ?
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.