-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
.without(YAMLGenerator.Feature.WRITE_DOC_START_MARKER) seems to be ignored #215
Comments
Hmmh. Yes, that looks like it ought to prevent start marker from being written. Thank you for reporting this, I will need to have a look! One thing that might help is if you could try a work-around of explicitly creating |
Ok, I can reproduce this issue. I also realized that it may be tricky to fix with 2.x, the problem being that the document start marker is being written during construction of I'll have to think of how to tackle this. You may be able to work around this issue by pre-configuring
in which case setting is used as expected. |
Thank you so much for your fast response! I can definitely wait for 3.x and/or use |
Ok good. I hope I'll address this for 2.12(.0). |
Unfortunately it seems unlikely this can be fixed for 2.x. Work-around mentioned above does, however, work: that is, configuring |
I feel like I may be using the APIs incorrectly, but I can't figure out what I'm doing wrong. The following code:
still puts the
---
at the beginning of the string.I'm using version 2.11.2
P.S. YAML support is a game. changer. Huge fan and huge thanks!
The text was updated successfully, but these errors were encountered: