Skip to content

Commit

Permalink
[Core] correction alias as lorsque propriété non résolue
Browse files Browse the repository at this point in the history
  • Loading branch information
gideruette committed Oct 19, 2023
1 parent fdf35a9 commit 07bbdde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TopModel.Core/Model/AliasProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public Domain Domain
get
{
var domain = _domain ?? _property?.Domain;
return As != null ? (domain.AsDomains.TryGetValue(As, out var asDomain) ? asDomain : null) : domain;
return As != null ? (domain != null && domain.AsDomains.TryGetValue(As, out var asDomain) ? asDomain : null) : domain;
}

set => _domain = value;
Expand Down

0 comments on commit 07bbdde

Please sign in to comment.