- ABP Framework version: v8.3.1
- UI Type: Blazor WASM
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Steps to reproduce the issue:
We have a number of services, e.g., DocumentService, InvoiceService and CustomerService
InvoiceService do API calls to CustomerService and DocumentService. CustomerService do API calls to InvoiceService.
We have tried to create a new class library and generate all client proxies in there. But the generated classes contain includes to the specific project. That means that it will be circular references?
Can you please guide us how to deal with the client proxies when two services do requests to each other?
Thanks
1 Answer(s)
-
0
hi
You can reference the
DocumentServiceModule.HttpApi.Client
inInvoiceService
host project. Then reference theInvoiceService.HttpApi.Client
inDocumentServiceModule
host project.Do you have
xxx.HttpApi.Client
project in all of your modules?