Hello,
Is it possible to declare some enums to be skipped when generating proxies? That is, I do not want to create frontend proxies for them when I type "generate-proxy".
Thanks.
2 Answer(s)
-
0
There is no official or documented way to skip specific enums during Angular proxy generation with the ABP Framework. The generate-proxy command generates proxies for all enums used in your application services' DTOs and contracts. Selective exclusion of enums is not supported as a configuration or CLI option.
Sources:
- https://docs.abp.io/en/abp/latest/UI/Angular/Service-Proxies
- https://abp.io/docs/latest/framework/ui/angular/service-proxies
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
-
0
hi
The type of proxy generated by Angular comes from the backend application.
The backend provides what the frontend generates.
You can’t skip them, but you can change the generated Angular code.
Thanks.