Closed ducmerida closed 4 years ago
Hi @ducmerida Thanks for bringing this use case. I can implement it, maybe even as a separated code fix.
In the meantime please consider supporting MappingGenerator project
@cezarypiatek thanks, I've already bought you a coffee but I will buy 2 more :)
ohh I didn't know that, I though that the first coffee was from a guy who requested #145. Anyway, I truly appreciate.
@ducmerida
Here's a pre-release version that contains requested feature. Would you mind testing it and letting me know if it works as you expected? This new code fix can be triggered using option "Generate explicit conversion (Try re-use instance)"
@cezarypiatek thanks a lot for you quick implementation, I've tried the VSIX and it doesn't work, you have a little error on your code, I leave you a comment on your PR #147
Thanks for testing and spotting the mistake. Should be fixed now.
@cezarypiatek thanks, i confirm that this last VSIX works perfectly :)
Many thanks for requesting this feature, seems to be very useful, and for your collaboration. I will release an official version today later.
An official version 1.20.463 with this feature has been released
With the following code
I get the current result
I would like to get the folowing code