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

[Go] Detect and fix model names with clashing constructor #3940

Merged
merged 10 commits into from
Dec 20, 2023

Conversation

andreaTP
Copy link
Contributor

Fixes #3920

It's the "quick and dirty" fix, we need a deeper review to properly remove the name mangling from the Writers ...

@andreaTP andreaTP requested a review from a team as a code owner December 19, 2023 19:21
@andreaTP andreaTP changed the title Detect and fix model names with clashing constructor [Go] Detect and fix model names with clashing constructor Dec 19, 2023
Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok with the general direction of this fix. A couple of remarks. Thanks for taking this on.

src/Kiota.Builder/Refiners/GoRefiner.cs Outdated Show resolved Hide resolved
src/Kiota.Builder/Refiners/GoRefiner.cs Outdated Show resolved Hide resolved
src/Kiota.Builder/Refiners/GoRefiner.cs Outdated Show resolved Hide resolved
baywet
baywet previously approved these changes Dec 20, 2023
@baywet baywet merged commit 7a5c7dd into microsoft:main Dec 20, 2023
179 checks passed
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.

[Go] Code doesn't compile when there is a model named "New" + another model name
2 participants