Activities of "kerolos.maher"

We are experiencing issues with proxy updates in the frontend. After updating the ABP service proxy using abp generate-proxy -t ng -u http://localhost:44354 -m [module name] --target [module name], the expected changes are not being reflected in the Angular application for some APIs. This leads to inconsistencies between the backend API and the generated service proxies, affecting functionality.

API with Array Parameters Not Generated Correctly

We encountered an issue with the proxy generation where an API in Swagger correctly accepts two arrays in its body, but the generated service proxy structure in Angular does not include these arrays in the request payload

(Swagger Receiving 2 arrays in a request body)

(Proxy request structure is missing body in its payload)

Incorrect Parameter Mapping in Generated Proxy

The generated proxy method for the API getPendingRequestsForActorFilterByBeneficiaryType... contains an incorrect parameter mapping. Specifically, in the params object, userId is mistakenly assigned the value of cancellationToken, while UserId is completely missing from the request.

Expected Correct Proxy Code:

Incorrect Parameter Mapping in Generated Proxy

the generated import paths are incorrect. The issue occurs because the import paths do not reflect the correct module folder structure, which varies based on the module name.

Generated Proxy (Incorrect Import Path):

Expected Correct Import Path:

Missing Imports in Generated Proxies

many files are missing required imports for DTOs and models. This leads to build-time errors in Angular due to undefined types.

Examples of Missing Imports:

Correct Import That Should Be Generated:

import { LookupDto } from '@proxy/shared';

I am currently using the Lepton theme with an Angular startup project. I have also downloaded the source code for the template, but I noticed it does not include the sample pages or component designs showcased in the HTML template preview (https://x.leptontheme.com/side-menu).

Could you please guide me on how to access or download the full template preview, including the sample designs, to better integrate them into my project?

Looking forward to your assistance.

Thank you for your support!

Showing 1 to 2 of 2 entries
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 v9.3.0-preview. Updated on May 20, 2025, 06:55