Description:
The current REST-level client emitters in TypeSpec do not support namespaces. This limitation creates challenges in organizing and structuring the generated code, especially for large projects with multiple APIs. Proper namespace support is crucial for avoiding naming conflicts and for logically grouping related functionalities.
Impact:
Difficulty in maintaining a clean and organized codebase.
Increased risk of naming conflicts.
Challenges in navigating and managing large codebases.
Desired Outcome:
Emitters should generate code with proper namespace support based on the TypeSpec specifications.
This feature will enable developers to maintain a well-organized and easily navigable codebase.
Steps to Reproduce:
Generate a REST-level client using the current emitters.
Observe the lack of namespace support in the generated code.
Expected Behavior:
The generated code should include namespaces that logically group related functionalities, as specified in the TypeSpec definitions.
Actual Behavior:
The generated code does not include namespaces, leading to a disorganized structure.
Additional Context:
This feature is essential for large-scale projects where multiple APIs need to be managed and maintained. Proper namespace support will significantly improve the developer experience and code maintainability.
Requested by the London Stock Exchange Group:
Description: The current REST-level client emitters in TypeSpec do not support namespaces. This limitation creates challenges in organizing and structuring the generated code, especially for large projects with multiple APIs. Proper namespace support is crucial for avoiding naming conflicts and for logically grouping related functionalities.
Impact:
Desired Outcome:
Steps to Reproduce:
Expected Behavior: The generated code should include namespaces that logically group related functionalities, as specified in the TypeSpec definitions.
Actual Behavior: The generated code does not include namespaces, leading to a disorganized structure.
Additional Context: This feature is essential for large-scale projects where multiple APIs need to be managed and maintained. Proper namespace support will significantly improve the developer experience and code maintainability.
Checklist