MapsterMapper / Mapster

A fast, fun and stimulating object to object Mapper
MIT License
4.38k stars 331 forks source link

Unable to generate Viewmodel because Mapster.Tool can't handle ObservableCollection #372

Closed FinalFortune closed 2 years ago

FinalFortune commented 3 years ago
System.InvalidOperationException: System.Collections.ObjectModel.ObservableCollection`1[System.String] is not supported for projection, please consider using List<>
andrerav commented 2 years ago

@FinalFortune The error message seems clear enough, I will close this issue for now but if you have more information about your use case and why/how you think this should be fixed and please feel free to reopen.