I have uploaded the log at the link below: https://1drv.ms/u/s!ApPUoIZEMrYMtn3IJjd1tuCyT72O?e=YbygD8
And the testing project: https://1drv.ms/u/s!ApPUoIZEMrYMtnyLclv1FrijY-o_?e=qzKjg3
Could you please help us take a look, thank you.
Hi @maliming,
Sorry for my late reply, I have shared the code to your email, please help us take a look.
var product = ObjectMapper.Map<ProductCreateDto, Product>(input);
// create product 1
product = await _productRepository.InsertAsync(product, autoSave: true);
// issue: product 1 was not created when I was debugging to this return line of code
return ObjectMapper.Map<Product, ProductDto>(product);
Hmm.. just figured out that the "-t app-pro -v 3.3.2" has been changed to "-t app -v pro-3.3.2".
Please close the ticket, thanks.
Ok, I got it.
Thanks @maliming
Hi @maliming,
It works perfectly. Thanks a lot for your support
Hi @maliming, I have followed the code but it does not work, I have sent the code via email, could you please help us take a look?
Thank you.
Hi @maliming, the PR updated the AbpAutoMapperModule.cs, may I know how can I override this module file?
so far, I know how to override the application service/controller only: https://docs.abp.io/en/abp/4.4/Customizing-Application-Modules-Overriding-Services
Thank you.
Hi @maliming, thank you for your prompt reply.
We dont have plan to upgrade the version yet, is there any workaround or any other solution to inject a service in AutoMapper?
Hi @liangshiwei, thanks, my host (server) application was not running when I ran the generate-proxy command.
Hi @maliming, it works now.
Thank you.