microsoft / microsoft/typespec

MTG emitter should support package-name

Open
#8,882 6 comments 0 reactions 0 assignees View on GitHub
emitter:client:csharp
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

Original issue: https://github.com/Azure/azure-sdk-for-net/issues/53606

For the case MySql, the package name is `Azure.ResourceMananger.MySql` but the namespace is `Azure.ResourceManager.MySql.FlexibleServers`.

If we use the setting
```
namespace: "Azure.ResourceManager.MySql.FlexibleServers"
emitter-output-dir: "{output-dir}/{service-dir}/Azure.ResourceManager.MySql"
```

Then the SDK project will be changed to `Azure.ResourceManager.MySql.FlexibleServers.sln` and package name also be changed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.