Starts in:
1 DAY
13 HRS
22 MIN
39 SEC
Starts in:
1 D
13 H
22 M
39 S
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.


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.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06