-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove mixed enum from devContainer.base.schema.json #223
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -413,16 +413,14 @@ | |
"gpu": { | ||
"oneOf": [ | ||
{ | ||
"type": [ | ||
"boolean", | ||
"string" | ||
], | ||
"enum": [ | ||
true, | ||
false, | ||
"optional" | ||
], | ||
"description": "Indicates whether a GPU is required. The string \"optional\" indicates that a GPU is optional. An object value can be used to configure more detailed requirements." | ||
"type": "boolean", | ||
"const" : true, | ||
"description": "Indicates a GPU is required." | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The description can be shown in editors. I suggest we copy the original description to both descriptions here, so the user will always get the full description for all 3 cases. |
||
}, | ||
{ | ||
"type": "string", | ||
"const": "optional", | ||
"description": "\"optional\" indicates that a GPU is optional." | ||
}, | ||
{ | ||
"type": "object", | ||
|
@@ -723,4 +721,4 @@ | |
} | ||
], | ||
"unevaluatedProperties": false | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok |
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is
false
still a valid value with this?