EREntityStore store = _stores.objectForKey(entity);
for (EOAttribute attrib : attributesToFetch) {
if (attrib.isFlattened()) {
EOAttribute _attrib = entity._attributeForPath(attrib.definition());
EORelationship _rel = entity._relationshipForPath(attrib.relationshipPath());
store = join(_rel, store, _stores.objectForKey(_attrib.entity()));
}
}
// We need to check the qualifier for _hiddenRelationships and include them if referenced
// for (EORelationship rel : (NSArray<EORelationship>) entity._hiddenRelationships()) {
// if (rel.isFlattened()) {