-
-
Notifications
You must be signed in to change notification settings - Fork 747
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
[Bug]: Parameter named ex causes compile error #1724
Comments
Thank you for raising this, we will see if there's a way to avoid clashing with the Source Generated code. |
I you happen to have a repo that demonstrates the issue, this would be very useful too, thank you. |
* Fix For #1724 Common parameter name used in generated code * Use more standard name as other generated code
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Describe the bug 🐞
When using a parameter named
ex
in a method of an interface used by refit, there's a name clash in the generated code that prevents compilation.Step to reproduce
Reproduction repository
No response
Expected behavior
It should compile
Screenshots 🖼️
No response
IDE
Visual Studio 2022
Operating system
Windows
Version
10
Device
No response
Refit Version
7.1.0
Additional information ℹ️
No response
The text was updated successfully, but these errors were encountered: