redhat-developer / redhat-developer/yaml-language-server
query param ignored when fetching schema
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 352
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Description
thanks for working on this extension. It is very helpful.
I recently started using this extension and ran into an issue which I am not very sure if its a supported use case.
I have a webserver that returns the schema based on the schema-version of file. so user can specify the schema-version as query param as follows:
"yaml.schemas": {
"https://myhost.example.com/get-schema?version=1.x": "*"
}
When I use the above url in yaml schemas, the query param never makes it to the server. Is that expected?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the yaml.schemas configuration and the schema URL containing ?version=1.x. Trace schema fetching and verify whether the request sent to the server preserves the query parameter; done means the server receives the configured URL unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100