redhat-developer / redhat-developer/vscode-yaml
YAML Anchors and References Break Schema Validation and Suggestions
Open
@evidolob is already working on this.
Since Feb 23, 2021.
enhancement
- Dominant language
- TypeScript
- Stars
- 829
- Forks
- 260
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 1
Description
Describe the bug
When user anchors or references in CloudFormation YAML files, schemas stops working when anchors/references are used.
Expected Behavior
It works as normal.
Current Behavior
Following error keeps repeating as elements are hovered.
Error thrown while requesting schema "Error: end of the stream or a document separator is expected" when calling the registered contributor "cloudformation"
Steps to Reproduce
- Add an anchor to any element
...
Tags: &tags
- Key: Application
Value: MyApp
...
Environment
- Windows
- Mac
- Linux
- other (please specify)
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.
Assessment
This issue has not been assessed yet.