fix: add JsonIgnore to calculated property
All checks were successful
.NET Test Pipeline / build-and-test (push) Successful in 3m46s
All checks were successful
.NET Test Pipeline / build-and-test (push) Successful in 3m46s
This commit is contained in:
parent
6797adac4f
commit
993e66a084
@ -2,6 +2,7 @@
|
||||
using Mirea.Api.Endpoint.Configuration.General.Attributes;
|
||||
using Mirea.Api.Endpoint.Configuration.General.Interfaces;
|
||||
using System;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Mirea.Api.Endpoint.Configuration.General.Settings;
|
||||
|
||||
@ -17,6 +18,7 @@ public class DbSettings : IIsConfigured
|
||||
public DatabaseEnum TypeDatabase { get; set; }
|
||||
public required string ConnectionStringSql { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public DatabaseProvider DatabaseProvider =>
|
||||
TypeDatabase switch
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user