[codegen/nodejs,dotnet,python] - No handling for resource / enum name collisions #7995
Labels
area/codegen
SDK-gen, program-gen, convert
kind/bug
Some behavior is incorrect or out of spec
language/dotnet
language/javascript
language/python
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.
The text was updated successfully, but these errors were encountered: