You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have yaml files with a custom schema (see below) where a "Missing property" problem is reported with the extension versions 1.0 and above. Earlier versions worked fine.
exmaple-schema.yml:
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema$schema: http://json-schema.org/draft-07/schematype: objectadditionalProperties: falseproperties:
columns:
title: Contains column definitionstype: objectpatternProperties:
"^[a-zA-Z]+$":
title: A column definitiontype: objectadditionalProperties: falseproperties:
int:
title: Integer column typetype: "null"long:
title: Long column typetype: "null"id:
title: Identity columntype: "null"unique:
title: Defines single column database unique constrainttype: "null"oneOf:
- required:
- int
- required:
- long
Describe the bug
I have yaml files with a custom schema (see below) where a "Missing property" problem is reported with the extension versions 1.0 and above. Earlier versions worked fine.
exmaple-schema.yml:
example.yml:
Expected Behavior
No problems should be reported for "int" and "long" properties. Please note, this works good for "id" and "unique" properties.
Current Behavior
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: