Ordering based on mapped DTO
Closed this issue · 1 comments
dev-greene commented
Would it at all be possible to base the builderAction
parameter off of the mapped DTO (if present), instead of the source entities?
Wonder if this would help alleviate the "nested type" issue someone else raised.
mrahhal commented
That's impossible, as the builder action is what tells us how to reach the columns in the model to be able to build the keyset query. The DTO can be a flattened version, etc. Can't use it to build the keyset. This would be the same as expecting EF Core to be able to work with DTOs instead of entities.
Nested props was a bit harder than expected. I'll have to get back to it for another try at some point.