Closed roly445 closed 8 months ago
Hi, thanks for bringing this to our attention. Can you post your repository and EF Core configuration? Or do you have an example app that we can look at?
I have something; just let me get it in a reasonable state and I'll send you a link to the repository.
I have just tidied up the solution and uploaded it here https://github.com/roly445/spamma. Hopefully it makes sense.
Would you accept a PR for this?
Would you accept a PR for this?
Yes, absolutely. Please include tests that reproduce the problem.
Thanks, I will do. Just so I know, what was the rationale behind modifying the entity's state?
I only ask because if I remove the calls to PrepareItem
from the AddAsync
and AddRangeAsync
methods all the unit tests still pass
Just so I know, what was the rationale behind modifying the entity's state?
To be honest, I don't know anymore why I did that. 🙈
Hi, I have just started looking into using this framework to accelerate my development around DDD.
I am currently using EF core and owned entities and I'm having issues with the persistence on these types.
I have used Rider to debug into the assembly as it's running and found that if I force the skipping the method
PrepareItem
inEntityFrameworkCoreRepository
it works as expected.Do you have any guidance on this?
Many thanks