Expression mapper#951
Conversation
The code is kind of working, but it contains an ugly hack, as the methods that return `Expression`s are not supposed to have any input.
|
I managed to get #733 mostly working but I need some directions on how to approach a couple of issues. Specifically, I am hacking around the fact that the expr methods are not supposed to have a source in ranma42@53e62b1#diff-39772ddec5eba09b32838264b5f579c437ce1452f4c4a8f5f3d3f2ad1779bbcfR280-R281 and again in ranma42@53e62b1#diff-6771c2c8998836aea4afc8eec9c5d28109aa1544052ef52756889fcc6e7cba99R59 What is the right approach here?
A related issue I am unsure about is: for expression mappers, do we expect the types to be:
Sorry if I opened this as a (draft) PR even though it is not yet ready for review (and most checklist requirements are not met), but I thought it would be easier to ask for directions on these with the code on the side |
|
@ranma42 thank you for your efforts! |
|
Closing for now as no updates were provided for a longer time period. I would be happy to review a new PR with updates, feel free to open a new PR if you plan to continue your work on this. |
Expression mappers
Description
Implement the
Expression<Func<A, B>>map generation.This is a WIP attempt at extending the source generator.
The code is most likely NOT ready for a review (yet 😇 ).
Fixes #733
Checklist