Commit graph

10 commits

Author SHA1 Message Date
Aaron L
82bffe9144 Adjust import paths 2017-07-30 20:34:54 -07:00
Aaron L
9107c9dea1 Another instance of helper slices in eager code
- Another instance of helper slice types seeping in. Convert the slice
  when it's found as part of a singular's R struct.
- Fix #158
2017-06-08 20:50:35 -07:00
Aaron L
466ea1f55f Fix another occurrency of XSlice cast failures
- When eager loading, we pull the values back out of the R struct, at
  this point it's possible to get the "poisoned" XSlice type that
  nothing can deal with again.
2017-06-04 12:03:57 -07:00
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