diff --git a/src/Framework/Framework/ViewModel/Serialization/DefaultViewModelSerializer.cs b/src/Framework/Framework/ViewModel/Serialization/DefaultViewModelSerializer.cs
index 714b81eab..54bb4a235 100644
--- a/src/Framework/Framework/ViewModel/Serialization/DefaultViewModelSerializer.cs
+++ b/src/Framework/Framework/ViewModel/Serialization/DefaultViewModelSerializer.cs
@@ -49,7 +49,7 @@ public record SerializationException(bool Serialize, Type? ViewModelType, string
///
/// Initializes a new instance of the class.
///
- public DefaultViewModelSerializer(DotvvmConfiguration configuration, IViewModelProtector protector, IViewModelSerializationMapper serializationMapper, IViewModelServerCache viewModelServerCache, IViewModelTypeMetadataSerializer viewModelTypeMetadataSerializer, IDotvvmJsonOptionsProvider jsonOptions, ILogger? logger)
+ public DefaultViewModelSerializer(DotvvmConfiguration configuration, IViewModelProtector protector, IViewModelSerializationMapper serializationMapper, IViewModelServerCache viewModelServerCache, IViewModelTypeMetadataSerializer viewModelTypeMetadataSerializer, IDotvvmJsonOptionsProvider jsonOptions, ILogger? logger = null)
{
this.viewModelProtector = protector;
this.viewModelMapper = serializationMapper;
diff --git a/src/Framework/Framework/ViewModel/Serialization/ViewModelSerializationMapper.cs b/src/Framework/Framework/ViewModel/Serialization/ViewModelSerializationMapper.cs
index 17738372c..b573ac698 100644
--- a/src/Framework/Framework/ViewModel/Serialization/ViewModelSerializationMapper.cs
+++ b/src/Framework/Framework/ViewModel/Serialization/ViewModelSerializationMapper.cs
@@ -28,7 +28,7 @@ public class ViewModelSerializationMapper : IViewModelSerializationMapper
private readonly ILogger? logger;
public ViewModelSerializationMapper(IValidationRuleTranslator validationRuleTranslator, IViewModelValidationMetadataProvider validationMetadataProvider,
- IPropertySerialization propertySerialization, DotvvmConfiguration configuration, IDotvvmJsonOptionsProvider jsonOptions, ILogger? logger)
+ IPropertySerialization propertySerialization, DotvvmConfiguration configuration, IDotvvmJsonOptionsProvider jsonOptions, ILogger? logger = null)
{
this.validationRuleTranslator = validationRuleTranslator;
this.validationMetadataProvider = validationMetadataProvider;