data-aggregator icon indicating copy to clipboard operation
data-aggregator copied to clipboard

Adds a `match` method for eager loading

Open Ben52 opened this issue 6 years ago • 2 comments

I've found this class useful in my own projects. By adding the match method you will now get only a single result, not a collection with a single result when eager or lazy loading your relationship when you call expectOne.

Ben52 avatar Sep 17 '18 17:09 Ben52

This is not quite done yet. I'll reopen when its fixed.

Ben52 avatar Sep 17 '18 18:09 Ben52

Thanks for the contribution! (First PR for AIC's data hub 🎉)

We are currently all-hands-on-deck on another project, but we should have a chance to revisit the more architectural aspects of this one in November. We'll look into merging this then!

IllyaMoskvin avatar Sep 19 '18 14:09 IllyaMoskvin