Skip to content

Commit ca3d2ab

Browse files
fixup! Resolve owner's key correctly in case of property-ref
Missing space in exception message
1 parent e8a8282 commit ca3d2ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/NHibernate/Async/Type/CollectionType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ public async Task<object> GetKeyOfOwnerAsync(object owner, ISessionImplementor s
357357
// This should not happen. If that changes, at least yield null, instead of yielding
358358
// a value of an unexpected type.
359359
throw new AssertionFailure(
360-
$"Unable to correctly resolve the owner key, property {foreignKeyPropertyName} for" +
360+
$"Unable to correctly resolve the owner key, property {foreignKeyPropertyName} for " +
361361
$"collection {role}. Unresolved value '{key}', key type '{keyType}', owner '{owner}'.");
362362
}
363363
}

src/NHibernate/Type/CollectionType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ public object GetKeyOfOwner(object owner, ISessionImplementor session)
535535
// This should not happen. If that changes, at least yield null, instead of yielding
536536
// a value of an unexpected type.
537537
throw new AssertionFailure(
538-
$"Unable to correctly resolve the owner key, property {foreignKeyPropertyName} for" +
538+
$"Unable to correctly resolve the owner key, property {foreignKeyPropertyName} for " +
539539
$"collection {role}. Unresolved value '{key}', key type '{keyType}', owner '{owner}'.");
540540
}
541541

0 commit comments

Comments
 (0)