SlapperAutoMapper / Slapper.AutoMapper

Slapper.AutoMapper maps dynamic data to static types. Slap your data into submission!
MIT License
287 stars 76 forks source link

Slapper Not Working When Type of Property ICollection #65

Closed dreamid27 closed 3 years ago

dreamid27 commented 6 years ago

Hi, thank for your awesome package. really - really help me. I Appreciate it .

but I have some problem, when my model, I have the property which is the type is ICollection , he is not working and gives the error.

image

image

but when I, change the type to type property IList, work perfectly !

this is a bug ?

cause I see not consistent if I use different type ICollection and IList in each model. just for making the Slapper Work.

Thank you. sorry for my bad English.

odelvalle commented 6 years ago

hi @dreamid27 can you write a test to reproduce the problem?

thank a lot