Skip to content

Commit 7e56847

Browse files
committed
Update src/Components/Endpoints/src/Binding/Factories/ComplexType/ComplexTypeExpressionConverterFactoryOfT.cs
1 parent b930de6 commit 7e56847

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Components/Endpoints/src/Binding/Factories/ComplexType/ComplexTypeExpressionConverterFactoryOfT.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ private CompiledComplexTypeConverter<T>.ConverterDelegate CreateConverterBody(Ty
8888
propertyFoundValue));
8989
body.Add(callTryRead);
9090

91+
// reader.PopPrefix("Property");
92+
body.Add(Expression.Call(
93+
readerParam,
94+
nameof(FormDataReader.PopPrefix),
95+
Array.Empty<Type>(),
96+
Expression.Constant(property.Name)));
97+
9198
body.Add(Expression.OrAssign(localFoundValueVar, propertyFoundValue));
9299
}
93100

0 commit comments

Comments
 (0)