microsoft / microsoft/typespec

[http-client-csharp] public constructor skipped during generation with custom constructor

Open
#9,331 5 comments 0 reactions 1 assignee Claimed by @JoshLove-msft View on GitHub
emitter:client:csharp
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

In https://github.com/Azure/azure-sdk-for-net/pull/54848/files, I was trying to mitigate breaking changes by adding a custom constructor, and expected to generate another overloading public constructor.
But it seems like we only allow one public constructor for the generated model in MTG.

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.