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
Problem using AutoRepositoryTypes #968
Comments
Hi :) Unfortunately, I could not understood the reason. Is it working if you remove AutoRepositoryTypes? |
Yes, if I remove AutoRepositoryTypes attribute, my application executes without problems, but I can't inject IRepository, you can see code commented in constructor https://github.com/thiagoburgo/abp-initial-sample/blob/master/Clintech.ClinApps/Clintech.ClinApps.Domain.Impl/Services/S4/PessoaService.cs#L13 Thanks, |
any fixes for this? or workarounds |
nevermind, figured out the issue |
@prateek14 Can you please explain how you resolve this issue? |
@prateek14 just saved me a lot of time. When inheriting from RepositoryBase, if you resolve the constructor, it gets created as |
Hi @hikalkan,
Me again :)!
I trying use AutoRepositoryTypes annotation in my DbContext, but when I do it, get an exeption:
Code:
Exception:
I changed module-zero template structure, basically separating interfaces from implementation in different projects. If you need see my project: https://github.com/thiagoburgo/abp-initial-sample
Thanks,
The text was updated successfully, but these errors were encountered: