You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dotnet: support optional arguments in methods and constructors #210
jsii-dotnet-generator should supply default values for arguments with optional types
jsii-dotnet-generator ensures that null is a valid value for types marked optional in JSII. For value types, this means making them nullable, i.e. int?. For reference types, null is already a valid value.
When a type like this is used in a parameter list, jsii-dotnet-generator should create a default value of null for the parameter. Currently, the user has to explicitly pass null.
changed the title [-]`jsii-dotnet-generator` should supply default values for arguments with optional types[/-][+]dotnet: support optional arguments in methods and constructors[/+]on Nov 15, 2018
Activity
[-]`jsii-dotnet-generator` should supply default values for arguments with optional types[/-][+]dotnet: support optional arguments in methods and constructors[/+]feat(dotnet): handling optional and variadic parameters (#680)