Skip to content

Commit c7aaa66

Browse files
cmeerensmoothdeveloper
authored andcommitted
Make optional parameters required
1 parent c96a2e2 commit c7aaa66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SqlClient.DesignTime/DesignTime.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ type DesignTime private() =
588588
if p.Optional
589589
then
590590
assert(p.Direction = ParameterDirection.Input)
591-
ProvidedParameter(parameterName, parameterType = typedefof<_ option>.MakeGenericType(p.TypeInfo.ClrType) , optionalValue = null)
591+
ProvidedParameter(parameterName, parameterType = typedefof<_ option>.MakeGenericType(p.TypeInfo.ClrType))
592592
else
593593
if p.Direction.HasFlag(ParameterDirection.Output)
594594
then

0 commit comments

Comments
 (0)