Skip to content

Commit

Permalink
Fix alias dans les décorateurs rerésolus à chaque watch
Browse files Browse the repository at this point in the history
  • Loading branch information
JabX committed Dec 13, 2023
1 parent b78f252 commit e9637ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TopModel.Core/ModelStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ IEnumerable<ModelError> ResolveAliases(IEnumerable<AliasProperty> alps)
}

// Résolution des alias des classes et endpoints.
foreach (var modelError in ResolveAliases(modelFile.Properties.OfType<AliasProperty>().Where(alp => alp.Reference is not null)))
foreach (var modelError in ResolveAliases(modelFile.Properties.OfType<AliasProperty>().Where(alp => alp.Decorator is null && alp.Reference is not null)))
{
yield return modelError;
}
Expand Down

0 comments on commit e9637ca

Please sign in to comment.