redhat-developer / redhat-developer/yaml-language-server

Schema validator doesn't recognize Null literals

Open
#1,005 4 comments 0 reactions 1 assignee View on GitHub

@msivasubramaniaan is already working on this.

Since Jan 22, 2025.

schema issue
Dominant language
TypeScript
Stars
1.5k
Forks
352
Avg merge
2d 7h
Merged PRs (30d)
11

Description

Describe the bug

Schema validator output: Incorrect type, Expected string
Image

Field schema:

{
  "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.",
  "format": "date-time",
  "type": "string"
}

Just like #118 , bug came back again?

yaml-language-server version uses the latest release 1.15.0

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.