Skip to content

Avoid duplicated .NET names in model generation (Fix #50)#62

Open
manitra wants to merge 1 commit into
Intechnity-com:masterfrom
manitra:fix-avoid-duplicated-dotnet-name
Open

Avoid duplicated .NET names in model generation (Fix #50)#62
manitra wants to merge 1 commit into
Intechnity-com:masterfrom
manitra:fix-avoid-duplicated-dotnet-name

Conversation

@manitra

@manitra manitra commented Mar 25, 2023

Copy link
Copy Markdown
Contributor

A better approch to solving issue #50 is just to create a naming container and add an auto incremented suffix in case of duplicates. This way, we don't have to do the "+" and "-" hacks in the naming construction.

I took the opportunity to separate the Nullability question to a separate method as well because the rules are not that trivial.

This PR is a better alternative to #59 and I'm going to close #59 .

A better approch to solving issue Intechnity-com#50 is juste to create a naming container and add an auto incremented suffix in case of duplicates. This way, we don't have to do the "+" and "-" hacks in the naming construction
@patricoos

Copy link
Copy Markdown
Member

this is a very big change, please add some tests here

@manitra

manitra commented Mar 27, 2023 via email

Copy link
Copy Markdown
Contributor Author

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.

2 participants