FastExpressionCompiler
FastExpressionCompiler copied to clipboard
Make AutoMapper FEC branch to pass all the tests
The branch: https://github.com/AutoMapper/AutoMapper/tree/FastExpressionCompiler
Baseline:
The exception happens outside of running custom IL. Already generating crashes...
Also "dynamic" is used in some tests, don't think it is supported already?
Hi, what is the version did you check?
Dynamic is not supported (or rather is not tested)
its the latest
Ok. Thanks for checking.
I have started work to fix AM some time ago - here is the updated branch in my fork https://github.com/dadhi/AutoMapper/tree/FECv3
The main problem is that AM expressions are big and complex, and composed in a multiple places - so I wanted to expect them with lately added LightExpression.ToCodeString
. So I've started to switch AM from the System Expression
to FEC.LightExpression
and immediately stuck on the missing ExpressionVisitor
support. So I've copied System ExpressionVisitor
and started the conversion - it is currently in progress - I've pushed it as-is (does not compile yet) into the branch.
I am not sure when I can return back to this code because I have other things to finish.