Overnight Patch
- Add
whereHas()
support toBelongsTo
relationship by implementing the required methods and adding them to theRelationInterface
to be enforced - Fix an issue where querying multiple relations with multiple
whereHas
statements would consider the query the parent model instead of the related after the firstwhereHas
call