Open LucasWBritz opened 4 years ago
Same here... unable to pinpoint this problem though...
got same issue. any updates here? Thanks
Someone would need to create a test that reliably reproduces the problem in order for anyone to attempt to address this issue.
Hi! I was reading this topic, because I had the same problem here. I just set a unique identifier and it work very well.
Like this:
Slapper.AutoMapper.Configuration.AddIdentifier(typeof(MyClass), "MyUniqueIdentifier");
I hope it helps
any chance of this getting updated? The PR above seems like a good fix.
Hi! I'm getting this error randomly when I try to query data from our database using dapper and then convert the result to an object using Slapper.
Code sample:
This error is happening inside this method when trying to Select(id => properties[id]). The Key does not exist in the dictionary and is throwing this exception.
Unfortunately I'm not able to reproduce the error locally and submit a pull request because it happens randomly in our production environment. Never had this issue running locally and debugging.
Does anyone have an idea on what could be the cause of the error?
Thank you!