diff --git a/mogenerator.m b/mogenerator.m index 22b4c8e1..f6054c75 100644 --- a/mogenerator.m +++ b/mogenerator.m @@ -164,7 +164,10 @@ - (NSArray*)noninheritedAttributesSansType { NSMutableArray *filteredAttributeDescriptions = [NSMutableArray arrayWithCapacity:[attributeDescriptions count]]; nsenumerate(attributeDescriptions, NSAttributeDescription, attributeDescription) { - if (![[attributeDescription name] isEqualToString:@"type"]) { + if ([[attributeDescription name] isEqualToString:@"type"]) { + ddprintf(@"WARNING skipping 'type' attribute on %@ (%@) - see https://github.com/rentzsch/mogenerator/issues/74\n", + self.name, self.managedObjectClassName); + } else { [filteredAttributeDescriptions addObject:attributeDescription]; } }