Extend parameter support in TProxyRepository

Issue #217 on hold
Stefan Glienke repo owner created an issue

Extend the support for lists, enumerable and/or dynamic array in order to make the following possible (const array will not work because dynamic invocation in RTTI does not properly support it):

 ICustomRepository = interface(IRepository<TCustomEntity, Integer>)
    ['{4CEFBF25-BAC1-42CD-BCAA-7321D9B4EFED}']
    [Query('select * from t_table where f_name in (:0)')]
    function FindByName(const ANameList: IList<string>): IList<TCustomEntity>;  
  end;

ICustomRepository = interface(IRepository<TCustomEntity, Integer>)
    ['{4CEFBF25-BAC1-42CD-BCAA-7321D9B4EFED}']
    [Query('select * from t_table where f_name in (:0)')]
    function FindByName(const ANameList: TArray<string>): IList<TCustomEntity>;  
  end;

Comments (3)

  1. Log in to comment