Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Existing target generic mapping #884

Open
mo-ah-dawood opened this issue Nov 9, 2023 · 1 comment
Open

Existing target generic mapping #884

mo-ah-dawood opened this issue Nov 9, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@mo-ah-dawood
Copy link

        private partial TTarget CreateEntity<TSource, TTarget>(TSource source);  /// working
        private partial void ModifyEntity<TSource, TTarget>(TSource source, TTarget target); /// not working

Environment (please complete the following information):

  • Mapperly Version: 3.2.0
  • .NET Version: 7.0.310
  • Target Framework: net7.0
  • IDE: vs code & vs 2022
  • OS: macos 14
@latonz latonz added the enhancement New feature or request label Nov 14, 2023
@latonz
Copy link
Contributor

latonz commented Nov 14, 2023

Currently existing targets are not supported for generic mappings. Would be happy to accept a PR.

@latonz latonz changed the title Generic mapping not working for function with 2 parameters Existing target generic mapping Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants