You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
YAML states if a string starts with a double quote, it then must end with one
If a schema default value starts with a double quote (and doesn't end with ending double quote)
an error is left after completion
Expected Behavior
Surround the string with single quotes and escape any existing single quotes
OR
Surround the string with double quotes and escape any existing double quotes
OR
use a block-scalar |
Current Behavior
notice the lines comment:, begin: and end: (under string:) are all reporting errors
Describe the bug
YAML states if a string starts with a double quote, it then must end with one
If a schema
default
value starts with a double quote (and doesn't end with ending double quote)an error is left after completion
Expected Behavior
Surround the string with single quotes and escape any existing single quotes
OR
Surround the string with double quotes and escape any existing double quotes
OR
use a block-scalar
|
Current Behavior
notice the lines
![Image](https://private-user-images.githubusercontent.com/33529441/413110999-cedc5c28-ebdb-491c-a9c6-d75fdf486b25.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NjkwNTMsIm5iZiI6MTczOTY2ODc1MywicGF0aCI6Ii8zMzUyOTQ0MS80MTMxMTA5OTktY2VkYzVjMjgtZWJkYi00OTFjLWE5YzYtZDc1ZmRmNDg2YjI1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDAxMTkxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE0NTY2NmJiN2UwYjc4N2NlMzk1NmM2YTM2ZWU0NWZhY2I2NWM1NmEzOWY0ZTBlNTY1NWUyMWU5ZTU5NjQ1ZTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.beU8QmQtvZVj-2ZlUF2NPVLJCuc8y80XAvac8Ee8W2s)
comment:
,begin:
andend:
(understring:
) are all reporting errorsSteps to Reproduce
New Grammar
completionEnvironment
the same should also apply to all other special YAML tokens
#comments etc
I would like the schema to be compatible with both YAML and JSON
The text was updated successfully, but these errors were encountered: