Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea #2

Open
elhakimdev opened this issue Jul 28, 2021 · 1 comment
Open

Idea #2

elhakimdev opened this issue Jul 28, 2021 · 1 comment

Comments

@elhakimdev
Copy link

Hello. Thanks for your inspiration about creating repository pattern.

But i have some idea that like ly absurd.

How about if this repository can perform relationship action such as HasOne, HasMany Or another relationship. Etc create child model directly from parents like $user->post()->create($post->create($request->validated()))?

Im on progres to make it easier but igetting stuck how to mapping abstraction? Could you have any idea to realize it?

@elhakimdev
Copy link
Author

Hope youre think about it. Thanks for your apreciate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant