dotnet / dotnet/command-line-api

Support Constructors with Optional Parameters for User-Types

Open
#636 0 comments 0 reactions 0 assignees View on GitHub
Area-Parser and Binder enhancement
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

From #632 :

Right now only constructors accepting **exactly 1 argument** of type `string` are being looked at for user type instantiation during binding. Could this be extended to also include those constructors where the first and the only required parameter is `string`, but that also contain optional parameters?

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.