Commits

Tuukka Norri committed b159a03

Inverse relationship's name gets now logged in case of use of deprecated relationship name

  • Participants
  • Parent commits e8c1c0d

Comments (0)

Files changed (1)

File Sources/BXRelationshipDescription.m

 	
 	if (mIsDeprecated) 
 	{
-		BXDeprecationLogSpecific (@"The relationship name %@ in %@.%@ has been deprecated.",
-								  mName, [mEntity schemaName], [mEntity name]);
+		BXDeprecationLogSpecific (@"The relationship name '%@' in %@.%@ has been deprecated (inverse relationship is '%@').",
+								  mName, [mEntity schemaName], [mEntity name], [[self inverseRelationship] name]);
 	}
 	
 	id retval = nil;