Hi All,
We started using abp framework this week and after generate entities and frontend using abp suite, we got several errors related to self reference like below:
Error: src/app/categories/category/components/category.component.html:54:34 - error TS2339: Property 'getCategoryLookup' does not exist on type 'CategoryService'.
54 [getFn]="service.getCategoryLookup" ~~~~~~~~~~~~~~~~~
Api project had a such endpoint, but the problem it doesn't exists in (angular service) proxy:
[HttpGet] [Route("category-lookup")] public Task<PagedResultDto<LookupDto<int>>> GetCategoryLookupAsync(LookupRequestDto input) { return _categoriesAppService.GetCategoryLookupAsync(input); }
Could you please advise how to avoid this issue later?
If you're creating a bug/problem report, please include followings:
- ABP Framework version: vX.X.X
- UI type: Angular / M /7.0.2or
- DB provider: EF C
- Tiered (MVC) or IdentiSeparated (Angular): yes / no
- Exception message and stack trace:
- Steps to reproduce the issue:"
4 Answer(s)
-
0
Hi, can you create it according to the document here?
-
0
-
0
Could you share your Dto wıth me? (or similar for an example)
-
0
Could you share your Dto wıth me? (or similar for an example)
Hi All,
I re-created the mentioned entity from abp suite and that solve the problem.