Commit graph

7 commits

Author SHA1 Message Date
Aaron L
b7cd6f3f99 Add additional nil checks to the eager loading code
- Needed a couple nil checks in the eager loading code. The tests didn't
  (and now do) cover the case where an eager load function returns
  empty or nil things.
- Fix #66
2016-11-15 21:56:59 -08:00
Aaron L
a8330b18ad Fix a len(0) check that wasn't occurring 2016-11-15 20:34:36 -08:00
Aaron L
480ba81555 Fix documentation bug. 2016-11-08 18:27:26 -08:00
Aaron L
8ee2fc0c08 Fix one bug in eager loading
- Improve testing in eager loading a lot
2016-09-29 08:17:13 -07:00
Aaron L
718691fc53 Use graph descent approach to pass tests
- The problem with the old approach is that it was looping over each
  result, and then recursing in and doing it's loading. But in reality
  we should only load from a table in a capacity once (tomany, toone).
2016-09-28 23:57:15 -07:00
Aaron L
e625589ed1 Work in progress
- The eager loading is behaving correctly now
2016-09-28 19:57:38 -07:00
Aaron L
5149df8359 Move everything to better package structure 2016-09-14 20:45:09 -07:00