Skip to content

Questions #8

@yazfield

Description

@yazfield

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions