Replies: 1 comment
-
Two years later, I find myself searching for a solution to this question again and discover that I'd asked about this already to no avail. =/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone used Laravel-Query-Builder with route model binding? Currently, I'm using route implicit model binding to load the initial model. Then if the request includes any Laravel-Query-Builder parameters, I re-fetch the model by the loaded model's ID.
It seems like there should be a cleaner way to do this. I'm thinking of possibly using explicit model binding.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions