eloquent-repository
eloquent-repository copied to clipboard
Questions
Hi, this package looks great, well done (y).
Nested Queries
How would you approach a nested query? say we have a user with posts and I'd like to get the user with the latest 3 posts titles.
Validation
Do you just use laravel's validation? the problem is you'll be using the query builder when you do this and this kind of kills the abstraction layer a repository is supposed to provide.
Sorry if these questions are kind of off topic, they're just one of the reasons the repository pattern never seemed to work for me with eloquent, you always find yourself rewriting every cool feature of Laravel!