You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any chance Mapster can map generic types? Something like.
config.ForType<SourceGeneric<T>, DestinationGeneric<T>>().Map(...)
MyGenericType<string> myType = new MyGenericType<string>();
myType.Adapt<MyOtherGenericType<string>>();
What I mean is I don't want to configure all potential types of T separately and would like to just define "generic mapping" between the types that will handle all types of T.
The text was updated successfully, but these errors were encountered:
Is there any chance Mapster can map generic types? Something like.
What I mean is I don't want to configure all potential types of
T
separately and would like to just define "generic mapping" between the types that will handle all types ofT
.The text was updated successfully, but these errors were encountered: