I've attached a rather compact working prototype of MappingProjection - which is a FactoryExpression based on QTuple. Maybe I'm missing something, but I couldn't find an easier way to do that in Querydsl 2.2.0-beta4.
If you think it would make sense to include it into Querydsl (in one form or another), please do so. Also I would be very much interested to hear your opinion: is it the best way to go or do you see alternative solutions.
I've attached a rather compact working prototype of MappingProjection - which is a FactoryExpression based on QTuple. Maybe I'm missing something, but I couldn't find an easier way to do that in Querydsl 2.2.0-beta4.
If you think it would make sense to include it into Querydsl (in one form or another), please do so. Also I would be very much interested to hear your opinion: is it the best way to go or do you see alternative solutions.