Resolve merge conflicts.

pull/13357/head
maliming 3 years ago
parent 03d0659977
commit 5537d24e87
No known key found for this signature in database
GPG Key ID: 096224957E51C89E

@ -16,7 +16,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="$(MicrosoftPackageVersion)" />
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.Json\Volo.Abp.Json.csproj" />
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.Json.SystemTextJson\Volo.Abp.Json.SystemTextJson.csproj" />
</ItemGroup>
<ItemGroup>

@ -1,10 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.FeatureManagement.JsonConverters;
using Volo.Abp.FeatureManagement.Localization;
using Volo.Abp.Json;
using Volo.Abp.Json.Newtonsoft;
using Volo.Abp.Json.SystemTextJson;
using Volo.Abp.Localization;
using Volo.Abp.Localization.ExceptionHandling;
@ -17,7 +13,7 @@ namespace Volo.Abp.FeatureManagement;
[DependsOn(
typeof(AbpValidationModule),
typeof(AbpJsonModule)
typeof(AbpJsonSystemTextJsonModule)
)]
public class AbpFeatureManagementDomainSharedModule : AbpModule
{
@ -42,11 +38,6 @@ public class AbpFeatureManagementDomainSharedModule : AbpModule
options.MapCodeNamespace("Volo.Abp.FeatureManagement", typeof(AbpFeatureManagementResource));
});
Configure<AbpNewtonsoftJsonSerializerOptions>(options =>
{
options.Converters.Add<NewtonsoftStringValueTypeJsonConverter>();
});
var valueValidatorFactoryOptions = context.Services.GetPreConfigureActions<ValueValidatorFactoryOptions>();
Configure<ValueValidatorFactoryOptions>(options =>
{

@ -1,5 +1,5 @@
using System;
using Newtonsoft.Json;
using System.Text.Json.Serialization;
using Volo.Abp.Data;
using Volo.Abp.Domain.Entities;

@ -20,7 +20,7 @@ public class SystemTextJsonStringValueJsonConverter_Tests : FeatureManagementApp
protected override void BeforeAddApplication(IServiceCollection services)
{
services.PreConfigure<AbpFeatureManagementApplicationContractsOptions>(options =>
services.PreConfigure<ValueValidatorFactoryOptions>(options =>
{
options.ValueValidatorFactory.Add(new ValueValidatorFactory<UrlValueValidator>("URL"));
});

Loading…
Cancel
Save