We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10bccc5 commit 7821ac5Copy full SHA for 7821ac5
src/EFCore/Storage/Json/JsonConvertedValueReaderWriter.cs
@@ -55,5 +55,8 @@ public override Expression ConstructorExpression
55
=> Expression.New(
56
_constructorInfo,
57
((ICompositeJsonValueReaderWriter)this).InnerReaderWriter.ConstructorExpression,
58
- ((IJsonConvertedValueReaderWriter)this).Converter.ConstructorExpression);
+ // We shouldn't quote converters, because every new instance will have to compile
59
+ // the expression again and it will have a negative performance impact.
60
+ // This means this is currently unsupported scenario for precompilation.
61
+ Expression.Constant(((IJsonConvertedValueReaderWriter)this).Converter));
62
}
0 commit comments