-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular generate-proxy - (Dto missing) #11618
Comments
I have the same problem. This problem also occured in a 4.x versions. |
Hello, We will work on this. You can follow the steps below to avoid this problem right now:
"paths": {
// other paths
"module-a": ["projects/module-a/src/public-api.ts"]
}
apis: {
// other apis
ModuleA: {
rootNamespace: 'ModuleA',
},
}
// other exports
export * from './lib/proxy';
You can look example project |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
same problem abp generate-proxy -t ng ABP CLI 8.1.3 |
Issue Description
The issue occurs if there are two or more abp backend modules, and 1 angular project.
Angular proxy folder contains "models.ts" with missing Dtos.
Steps to reproduce
Create two abp modules(with no ui), both has a reference to a dotnet csproj (not abp) which has few Dtos.
Create an Abp App with angular UI, and register the modules in Conventional Controllers (HttpApiHostModule). Run Host.
Run the cli commands in angular folder:
Check the proxy folder, inside the simple-dtos folder, the models.ts file:
The text was updated successfully, but these errors were encountered: