Open Closed

incorrectly generating fronted service proxy files with double Saas prefix for saas classes #8818


User avatar
0
engineering@climatecamp.io created

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:

  1. Generate frontend proxies using abp generate-proxy -t ng -u https://localhost:...
  2. Observe in generated frontend service files: TenantActivationState -> SaasTenantActivationState, SaasTenantCreateDto -> SaasSaasTenantCreateDto,...

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

    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.

  • User Avatar
    0
    engineering@climatecamp.io created

    Ok, thank you.

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.0.0-preview. Updated on July 08, 2025, 08:19