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

[codegen/nodejs,dotnet,python] - No handling for resource / enum name collisions #7995

Open
komalali opened this issue Sep 17, 2021 · 0 comments
Labels
area/codegen SDK-gen, program-gen, convert kind/bug Some behavior is incorrect or out of spec language/dotnet language/javascript language/python

Comments

@komalali
Copy link
Member

Consider a resource with a token "example::Foo" and an enum with a token "example::Foo". We currently have no handling in C#, Node.js or Python codegen to resolve these naming collisions. Enums and resources share a namespace (unlike object types which have their own namespace).

We currently don't have any examples of these collisions in practice, but they are within the realm of possibility.

@komalali komalali added the kind/bug Some behavior is incorrect or out of spec label Sep 17, 2021
@justinvp justinvp added the area/codegen SDK-gen, program-gen, convert label Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/codegen SDK-gen, program-gen, convert kind/bug Some behavior is incorrect or out of spec language/dotnet language/javascript language/python
Projects
None yet
Development

No branches or pull requests

3 participants