Skip to content

Commit 89628a2

Browse files
committed
Fix properties order for a correct deserialization
1 parent cf5952c commit 89628a2

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

src/FeatureManagement.Database.Abstractions/FeatureManagement/Database/FeatureSettings.cs

+16-15
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,6 @@ public class FeatureSettings
1313
/// </summary>
1414
public Guid Id { get; }
1515

16-
/// <summary>
17-
/// The filter type used for enabling the feature.
18-
/// </summary>
19-
public FeatureFilterType FilterType
20-
{
21-
get => _filterType;
22-
set
23-
{
24-
ValidateCustomFilterType(value, _customFilterTypeName);
25-
_filterType = value;
26-
}
27-
}
28-
29-
private FeatureFilterType _filterType;
30-
3116
/// <summary>
3217
/// <para>
3318
/// Used for custom filter types not defined in the <see cref="FeatureFilterType"/> enum.
@@ -54,6 +39,22 @@ public string CustomFilterTypeName
5439

5540
private string _customFilterTypeName;
5641

42+
/// <summary>
43+
/// The filter type used for enabling the feature.
44+
/// </summary>
45+
public FeatureFilterType FilterType
46+
{
47+
get => _filterType;
48+
set
49+
{
50+
ValidateCustomFilterType(value, _customFilterTypeName);
51+
_filterType = value;
52+
}
53+
}
54+
55+
private FeatureFilterType _filterType;
56+
57+
5758
/// <summary>
5859
/// The parameters associated with the feature settings.
5960
/// </summary>

0 commit comments

Comments
 (0)