abpframework / abp

Open Source Web Application Framework for ASP.NET Core. Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET and the ASP.NET Core platforms. Provides the fundamental infrastructure, production-ready startup templates, application modules, UI themes, tooling, guides and documentation.
https://abp.io
GNU Lesser General Public License v3.0
12.31k stars 3.32k forks source link

Angular: Generate proxy doesn't work with nested generic type in dto #19656

Open realLiangshiwei opened 2 weeks ago

realLiangshiwei commented 2 weeks ago

https://support.abp.io/QA/Questions/7114/abp-cli-generate-proxy-doesn%27t-work-anymore-with-generic-type-in-dto

Steps:

public class PagedListDto<T> : PagedResultDto<T>
{

}

public class TestAppService : QaAppService
{
    public async Task<PagedListDto<IdentityUser>> Test()
    {
        return new PagedListDto<IdentityUser>();
    }
}

abp generate-proxy -t ng

image