Prefix dotnet types with global:: so that we don't get conflicts with property names #5020
Labels
Csharp
Pull requests that update .net code
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Nuget tool
Client library/SDK language
Csharp
Describe the bug
We are getting namespace error's because the models are not prefixed with global::
Here's an example of the problem
And here's how it could be fixed by prefixing models with global:: like people do with source generators.
Expected behavior
Code should compile and not have any issues
How to reproduce
It happens across multiple apis that we have
Open API description file
No response
Kiota Version
1.15.0
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
Fixing it manually
Configuration
Debug output
N/A
Other information
N/A
The text was updated successfully, but these errors were encountered: