When generating Angular frontend proxy with 'abp generate-proxy -t ng -u <localhost>, the Saas prefix is added to some Saas classes in the models.ts files (in the import and in the file body):
import type { SaasTenantDto } from '../volo/saas/host/dtos/models'; ... tenant: SaasTenantDto
becomes
import type { SaasSaasTenantDto } from '../volo/saas/host/dtos/models'; ... tenant: SaasSaasTenantDto;
However volo/saas/host/dtos/models has no exported member with this name, so I then need to manually revert this change.
ABP Framework version: v9.0.5
UI Type: Angular
Database System: EF Core
Tiered (for MVC) or Auth Server Separated (for Angular): no
Steps to reproduce the issue:
- Generate frontend proxies using abp generate-proxy -t ng -u https://localhost:...
- Observe in generated frontend service files: TenantActivationState -> SaasTenantActivationState, SaasTenantCreateDto -> SaasSaasTenantCreateDto,...
2 Answer(s)
-
0
Hello,
Thank you for reporting this issue. We’re aware of this and are working on a fix for an upcoming release. I am also refunding your ticket.
For now, a temporary workaround is to manually correct the affected imports and references. We appreciate your patience and will keep you updated with the releases.
-
0
Ok, thank you.