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

YAML validation errors for unrelated files #2473

Open
bastbu opened this issue Nov 29, 2024 · 1 comment
Open

YAML validation errors for unrelated files #2473

bastbu opened this issue Nov 29, 2024 · 1 comment
Assignees

Comments

@bastbu
Copy link

bastbu commented Nov 29, 2024

Expected Behavior

When adding a foo.yaml file with the following content:

$schema: "https://json-schema.org/draft/2020-12/schema"

type: "foo"

The Azure ML extension should not report any errors.

Actual Behavior

The Azure ML extension reports the following error:

Value is not accepted. Valid values: "array", "boolean", "integer", "null", "number", "object", "string".

The same behavior applies when the $schema is removed.

Steps to Reproduce the Problem

  1. Create a foo.yaml file
  2. Paste the content described above

Specifications

  • Version: v1.2.0
  • Platform: Ubuntu in Dev Container
@JerryYangKai
Copy link
Contributor

JerryYangKai commented Dec 5, 2024

Thanks for reporting this @bastbu, I have repro it in my desktop, I will add this to backlog and check this UX update with PM side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants