Generic IQueryable projections #960
Replies: 2 comments
-
Hey, Mapperly supports derived type mapping for IQueryable projections. public static partial System.Linq.IQueryable<B> Map(System.Linq.IQueryable<A> source);
[MapDerivedType<ASubType1, BSubType1>]
[MapDerivedType<ASubType2, BSubType2>]
public static partial B Map(A src); I don't think generic mappings are supported yet. I'll see if I can add it 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Created #968 to track this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to handle generic IQueryable projections? Is it possible to do this?
I'm looking for the equivalent of the "ProjectTo" extension from AutoMapper to add to my generic repository.
Beta Was this translation helpful? Give feedback.
All reactions