Skip to content

Conversation

Ben52
Copy link

@Ben52 Ben52 commented Sep 17, 2018

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.

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
Copy link
Author

Ben52 commented Sep 17, 2018

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

@Ben52 Ben52 closed this Sep 17, 2018
@Ben52 Ben52 reopened this Sep 17, 2018
Should now return only a single instance when eager/lazy loading, not an array
@IllyaMoskvin
Copy link
Contributor

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!

@nikhiltri nikhiltri force-pushed the develop branch 5 times, most recently from f6a921e to 45dded7 Compare February 20, 2021 01:09
@nikhiltri nikhiltri force-pushed the develop branch 4 times, most recently from beeaca9 to d87c4c8 Compare November 30, 2021 21:17
@nikhiltri nikhiltri force-pushed the develop branch 3 times, most recently from d94883e to 0fb57a2 Compare October 14, 2022 21:42
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

Successfully merging this pull request may close these issues.

3 participants