Skip to content

[http-client-csharp] CodeGenType improvement suggestion #9086

@ArcturusZhang

Description

@ArcturusZhang

We have scenarios that we need to change namespace of enum types, but enum types do not support partial, therefore we will have to move all the content into the customization, which makes it no longer to be able to catch up new updates.
Could we somehow update this to support this scenario?
For instance, we could add a new attribute like this:

[CodeGenNamespace("TheTypeName"]
namespace NewNamespace;

Or we could find other ways.

Metadata

Metadata

Assignees

No one assigned

    Labels

    emitter:client:csharpIssue for the C# client emitter: @typespec/http-client-csharp

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions