-
Notifications
You must be signed in to change notification settings - Fork 0
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
XIVY-13178 wip: map ivy.yaml to locally served schemas #60
base: stale/master
Are you sure you want to change the base?
Conversation
0adfa2f
to
14fa26d
Compare
schemas: [ | ||
{ | ||
// If YAML file is opened matching this glob | ||
fileMatch: ['**/ivy.yaml'], | ||
// Then this schema will be downloaded from the internet and used. | ||
//uri: 'https://json-schema.ivyteam.ch/ivy/11.3.9/ivy.json' | ||
//uri: 'http://127.0.0.1:8080/system/json-schema/ivy/11.3.9/ivy.json' | ||
uri: 'http://localhost:5173/ivy/11.3.9/ivy.json' | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uri: can't be relative ... looks like an error in monaco-yaml fetching code ... fails at runtime
} | ||
|
||
let content = `# yaml-language-server: $schema=https://json-schema.axonivy.com/ivy/11.3.1/ivy.json | ||
let content = `# yaml-language-server: $schema=https://json-schema.axonivy.com/ivy/11.3.9/ivy.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ivy.yaml editing with self-served schemas works well if no #yaml-language-server hint is set.
but we have it in all our models; for versioning reasons ... and as soon as we have an explicit schema defined, it will win over the predefined local model. :-(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.