Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion schemas/FeatureManagement.Dotnet.v1.0.0.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "The .NET Feature Management Schema",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The title describes this object- not the file. See https://json-schema.org/learn/json-schema-examples

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhiyuanliang-ms I think I suggested this title, but it looks like Ross is right here.

"title": "A .NET Feature Management Configuration",
"required": [],
"patternProperties": {
"^[^:]*$": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ We support
enabledFor: false
},
myAllRequiredFilterFeature: {
requirementType: "all",
requirementType: "All",
enabledFor: [{name: "myFeatureFilter1"}, {name: "myFeatureFilter2"}]
}

Expand Down
4 changes: 2 additions & 2 deletions tests/Tests.FeatureManagement/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"OnTestFeature": true,
"OffTestFeature": false,
"FeatureUsesFiltersWithDuplicatedAlias": {
"RequirementType": "all",
"RequirementType": "All",
"EnabledFor": [
{
"Name": "DuplicatedFilterName"
Expand Down Expand Up @@ -145,7 +145,7 @@
]
},
"AllFilterFeature": {
"RequirementType": "all",
"RequirementType": "All",
"EnabledFor": [
{
"Name": "Test",
Expand Down