neoneye/autodescribe — pull request #3 by airdrummingfool (2012-11-27 08:06:22+00:00)
Title: Problem with Core Data To-Many Relationships

When trying to print a Core Data object that has a To-Many relationship, -autoDescribe gets caught up on the To-Many property if the relationship is faulting.

It appears that a faulting To-Many relationship is a "_NSFaultingMutableSet". Trying to print this inexplicably seems to call -describe on the original object, thus creating an infinite loop (assuming -describe calls -autoDescribe).

I have a patch for this... It's not pretty (uses NSStrings to compare classes) but it has worked in my limited testing.

I'll get a pull request in for the patch, but I'm hoping someone can come up with a better way to get around this issue (assuming it's not just something I'm doing wrong).