redhat-developer / redhat-developer/vscode-yaml

Minimum one schema should validate

Open
#783 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
829
Forks
260
Avg merge
5h 43m
Merged PRs (30d)
1

Description

Describe the bug

Introduced with updated 1.8, when comparing on enum with give error "Minimum one schema should validate". Version 1.7 and lower had no issues.

files.zip

Expected Behavior

YAML should validate

Current Behavior

Dose not validate, error "Minimum one schema should validate"

Environment

  • Windows

  • Mac

  • Linux

  • other (please specify)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with files.zip and compare enum validation behavior between versions 1.7 and 1.8 in the YAML language server; search for the "Minimum one schema should validate" diagnostic and related tests. Done means the supplied YAML validates on macOS without that error and the enum case has regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, yaml
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.