Replies: 1 comment 1 reply
-
Hi, I think merge key was introduced by and only supported by YAML 1.1 and is not supported / deprecated for YAML 1.2. Do you try to fix yaml.yamlVersion to 1.1? See also hilleer/vscode-yaml-plus-json#38 Regards. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I created a json-schema for an internal tool, but there seems to be issues around using anchors to provide default values while overriding others.
The test_base_anchor anchor is valid, and I can "go to definition" on it.
Fields specified before ('when') the anchor merge show the hover text.
Fields specified after ('desc') the anchor merge don't show.
If I remove 'desc' from the test_name1 entry, then hover over for it works under test_name2.
Is this a bug, unsupported, or am I specifying something wrong in my schema?
Any advice?
My json schema looks like this:
Note, I've noticed that this syntax in a bit of limbo where only some tools support it based on the discussion in this stacked overflow. https://stackoverflow.com/questions/41063361/what-is-the-double-left-arrow-syntax-in-yaml-called-and-wheres-it-specifi
Beta Was this translation helpful? Give feedback.
All reactions