Skip to content
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

"uniqueItems" array items schema validation is not checked #130

Closed
lashchev opened this issue Oct 10, 2018 · 2 comments
Closed

"uniqueItems" array items schema validation is not checked #130

lashchev opened this issue Oct 10, 2018 · 2 comments
Labels

Comments

@lashchev
Copy link

If the schema has uniqueItems=true set for an array - extension doesn't highlight duplicated items.

redhat.vscode-yaml: 0.0.17
VSCode:
Version: 1.28.0
Commit: 431ef9da3cf88a7e164f9d33bf62695e07c6c2a9
Date: 2018-10-05T14:58:53.203Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

@JPinkney JPinkney added the bug label Mar 7, 2019
@JPinkney
Copy link
Contributor

JPinkney commented Mar 7, 2019

Hmm...... it looks as though the functionality is there. Are you able to provide some sample schema that I can test it against just so I can see where its going wrong?

@JPinkney
Copy link
Contributor

I've just tried with:

{
  "type": "array",
  "uniqueItems": true
}

and

- 1
- 2
- 1

and the error is reported now.

bleach31 pushed a commit to bleach31/vscode-yaml that referenced this issue Jan 25, 2022
Make `yaml-launguage-server` command executable format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants