Giter VIP home page Giter VIP logo

Comments (8)

JPinkney avatar JPinkney commented on June 29, 2024 1

I've narrowed this down to a regression in redhat-developer/yaml-language-server@2a8456a inside the jsonParser. I'm currently working on fixing this!

from vscode-yaml.

JPinkney avatar JPinkney commented on June 29, 2024 1

I believe this is the same issue. I have a fix for it we just need to release the extension again for the update!

from vscode-yaml.

felixfbecker avatar felixfbecker commented on June 29, 2024

I think I'm meeting the same issue. I have a schema for a .travis.yml that defines the type of e.g. before_install as oneOf boolean, string or array of strings:

https://github.com/felixfbecker/schemastore/blob/2a32ed0e3eab265b9a82f0b2dbcd1046eab85bde/src/schemas/json/travis.json#L15-L28

But the inside VS Code I get the validation error that boolean is expected (and not string array):

image

https://github.com/aaronpowell/ps-nvmw/blob/9784e5ada938a7485a6786371ac76b3ed78d37fb/.travis.yml#L13

from vscode-yaml.

felixfbecker avatar felixfbecker commented on June 29, 2024

@JPinkney to make these releases automatic, would you be interested in a semantic-release auto-release workflow? I set that up for php-language-server and vscode-php-intellisense and it works very well

from vscode-yaml.

JPinkney avatar JPinkney commented on June 29, 2024

Hi, I've fixed this issue! It's now available in the latest release!

from vscode-yaml.

felixfbecker avatar felixfbecker commented on June 29, 2024

@JPinkney awesome! Did you read my comment above?

from vscode-yaml.

vojtechhabarta avatar vojtechhabarta commented on June 29, 2024

@JPinkney thanks, with latest release my schema works as expected.

BTW the schema is here: https://github.com/vojtechhabarta/heat-template-schema/blob/master/schema/heat-template.schema.json - it is generated schema for OpenStack Heat Orchestration Templates.

from vscode-yaml.

felixfbecker avatar felixfbecker commented on June 29, 2024

@vojtechhabarta I would encourage you to contribute it to jsonschemastore :)

from vscode-yaml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.