dchester/epilogue — pull request #18 by mbroadst (2014-05-12 19:57:04+00:00)
Title: Fix duplicate fields on complex include queries

I added some code to include attributes if 'include' was specified, which works in simple include cases but not when you want to cross a few models (and use reverse lookups). I'm not sure if there was originally an intent to provide only specific attributes, so that should be discussed here.

Also, you'll note in the complex test for READs I only check the second one.. This was a bit lazy, I know, but for some reason List and Read controllers return the deep data in reverse order from each other and chai's deeply-equal-compare can't accommodate for Array's in different order.. another thing to look into, however I can guarantee through the test that the actual data is correct