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

Generating valid, meaningful method name from destination type #586

Conversation

rafalka
Copy link

@rafalka rafalka commented May 5, 2023

This PR fixes #580

Examples:

typeof(int) => Int
typeof(int?) => Int
typeof(int?[]) => IntArray
typeof(List<string[]>) => StringArrayList

Examples:
typeof(int) => Int
typeof(int?) => Int
typeof(int?[]) => IntArray
typeof(List<string[]>) => StringArrayList
@andrerav andrerav merged commit c2d370f into MapsterMapper:master May 29, 2023
1 check passed
@andrerav
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mapster.Tool generates incorrect mapping extension method names when a destination type is nullable or generic
2 participants