Compatibility fix with Delphi 10.4 Sydney

This commit is contained in:
João Antônio Duarte 2024-04-17 08:11:16 -03:00
parent d231ebf3cb
commit 0816f12ed8

View File

@ -2615,7 +2615,7 @@ begin
for I := 0 to Length(lActionFormalParams) - 1 do
begin
lServiceName := '';
{$IF Defined(SYDNEYORBETTER)}
{$IF Defined(ALEXANDRIAORBETTER)}
lInjectAttribute := lActionFormalParams[I].GetAttribute<MVCInjectAttribute>;
{$ELSE}
lInjectAttribute := TRttiUtils.GetAttribute<MVCInjectAttribute>(lActionFormalParams[I]);