-
-
Notifications
You must be signed in to change notification settings - Fork 773
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
[writer] Shorthandable tags are not shorthanded #258
Labels
Comments
This is not implemented. By the way, we should had an improvement-ticket for this since 2.0 release. Forgotten stuff. Let it be such a ticket then. |
dervus
changed the title
[writer] Tag name representation differs from input
[writer] Shorthandable tags are not shorthanded
Feb 18, 2016
rlidwka
added a commit
that referenced
this issue
Dec 28, 2020
Fixed in a583097 (currently in |
This was referenced Mar 11, 2021
This was referenced Mar 18, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
I'm using this library to parse a configuration format where I added some custom types. These custom types are constructed and represented through some types I'm writing. All of the types are collected in a custom schema. (By the way, schemas work great and makes the library very extensible :)
Below I copy the input I'm parsing:
And this is the output I get after loading the YAML text and dumping the data structure
Is there anyway I can tell
js-yaml
to dump tag names in the short representation I used in the input?The text was updated successfully, but these errors were encountered: