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

Follow up to #1901 #1904

Merged
merged 3 commits into from
Oct 18, 2022
Merged

Follow up to #1901 #1904

merged 3 commits into from
Oct 18, 2022

Conversation

andrueastman
Copy link
Member

This PR is a follow up to #1901

It fixes an edge case where a type that is similar to a file extension exists in the reference input file that would cause generation to fail. Example is microsoft.graph.json.

This PR updates the GetClassName function to apply the extension exclusions if we have more than one segment in the name.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

80.0% 80.0% Coverage
0.0% 0.0% Duplication

@andrueastman andrueastman merged commit 1622aca into main Oct 18, 2022
@andrueastman andrueastman deleted the fixgeneration branch October 18, 2022 11:53
@andrueastman
Copy link
Member Author

Thanks @baywet

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