Skip to content

Commit 0797796

Browse files
committed
Resolve previously introduced configure parameter with null in runtime [Pt. II]
1 parent d631714 commit 0797796

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Dibix.Http.Server/Runtime/HttpParameterResolver.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ private static IEnumerable<HttpParameterInfo> CollectParameters(IHttpActionDescr
106106
if (parameter.ParameterType == typeof(Action<DatabaseAccessorOptions>))
107107
{
108108
yield return HttpParameterInfo.ConstantValue(contractParameter: null, parameter.ParameterType, parameter.Name, null);
109+
continue;
109110
}
110111

111112
if (parameter.IsDefined(typeof(InputClassAttribute)))

0 commit comments

Comments
 (0)