-
Notifications
You must be signed in to change notification settings - Fork 233
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
Unable to load remote schema with http protocol #550
Unable to load remote schema with http protocol #550
Comments
Can confirm this is happening. I think the issue is occurring because of redhat-developer/yaml-language-server#499 |
it happens either for macos and https (not only http). |
Second this |
Still happening with version 1.1.1 on windows 10 and https:
|
@simax |
@evidolob Thanks. I'm a bit confused as to what to do to fix my problem.
or
Should I also create a graphql.config.yml? If so, I've tried the above but it didn't seem to help. |
@simax you need to create {
"yaml.schemas": {
"https://unpkg.com/@graphql-mesh/[email protected]/config-schema.json": "graphql.config.yml"
}
} Should work, but you need to create and open |
Describe the bug
The latest version,
0.21.0
introduced a bug if a yaml file uses# yaml-language-server: $schema=http://json-schema.org/draft-07/schema#
An error is shown
Expected Behavior
The remote schema should be loaded
Current Behavior
An error is reported
Steps to Reproduce
0.21.0
Environment
Workaround
0.20.0
The text was updated successfully, but these errors were encountered: