Closed regnerisch closed 2 years ago
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
up
Hey,
first: Great Package! I use it a lot, and it's doing a great job!
Today I ran in an issue. I have a class like:
We call the API with
/learnings?include=steps,steps.products,steps.products.thumbnail
. But adding thesteps.products.thumbnail
include overwrites the things I do inProductInclude
.So our response only contains the
thumbnail
butavgRating
,rated
andread
arenull
. Removing thesteps.products.thumbnail
include let returnavgRating
,rated
andread
the right values.I'm not sure if it's a bug, or it's related to how Laravel builds queries - but maybe you can provide a solution or at least tell me how I could make it work with a custom include and a nested relation.
Thanks in advance