microsoft / kiota-dotnet

Abstractions library for the Kiota generated SDKs in dotnet
https://aka.ms/kiota/docs
MIT License
32 stars 29 forks source link

Prefix types with `global::` so that we don't get conflicts with property names #305

Closed jakejscott closed 1 month ago

jakejscott commented 1 month ago

We are getting namespace error's because the models are not prefixed with global::

Here's an example of the problem kiota-error

And here's how it could be fixed by prefixing models with global:: like people do with source generators.

kiota-not-error

jakejscott commented 1 month ago

I think this has been fixed in kiota 1.16.0 https://github.com/microsoft/kiota/releases/tag/v1.16.0