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

reserved type names being used in CSharp generation #2021

Closed
baywet opened this issue Dec 2, 2022 · 1 comment · Fixed by #2031
Closed

reserved type names being used in CSharp generation #2021

baywet opened this issue Dec 2, 2022 · 1 comment · Fixed by #2031
Assignees
Labels
Csharp Pull requests that update .net code type:bug A broken experience

Comments

@baywet
Copy link
Member

baywet commented Dec 2, 2022

if you have a schema named integer, kiota will generate a model for that in CSharp. The issue is that is conflicts with the type name under System. We already have excluded the shorthands (like int) but it's not enough. @andrueastman would you mind putting together a PR to exclude type names under system please so we don't have conflicts?

@baywet baywet added Csharp Pull requests that update .net code type:bug A broken experience labels Dec 2, 2022
@andrueastman
Copy link
Member

Acknowledging this one @baywet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Csharp Pull requests that update .net code type:bug A broken experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants