Open Closed

Proxy generation gives Error for type Entity(Angular) #7489


User avatar
0
sridhar created

ABP Framework version: v7.2.2

UI Type: Angular(Basic Theme) V15

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): yes We use Azure B2C

Exception message and full stack trace:

Steps to reproduce the issue: We generated proxy using the below command

ng generate @abp/ng.schematics:proxy-add --target=XYZ --source=XYZ

But I'm getting the following errors

  1. Error: src/app/proxy/volo/abp/domain/entities/models.ts:7:51 - error TS2315: Type 'Entity' is not generic.

    7 export interface BasicAggregateRoot<TKey> extends Entity<TKey> {

  2. Error: src/app/proxy/volo/abp/identity/models.ts:4:40 - error TS2315: Type 'Entity' is not generic.

    4 export interface IdentityClaim extends Entity<string> { ~~~~~~~~~~~~~~

How to overcome this issue. This is an urgent issue could I get an answer for this asap.

Thanks in advance.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello, this problem can be related to this issue https://github.com/abpframework/abp/issues/19656 that was solved in a 8.1 patch.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.