-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Preserve multiline strings #96
Comments
Any chance that Sponge forks the typesafe repo to fix things like that? |
I would rather not as maintaining yet another library is something I'm not sure we have the man power to provide. |
On top of which, Given the under-specification of Hocon, I'd be reluctant to fork the current reference implementation. Configurate probably needs to change to adapt to the new API's provided since it was written, for modifying values in place, and controlling their formatting. Duplicate of: lightbend/config#409 |
Couldn't this be implemented with Mixins somewhere here: https://github.com/lightbend/config/blob/ea45ea3767a201933eeeb9c3f0f13eacc9b51f07/config/src/main/java/com/typesafe/config/impl/ConfigString.java#L82 |
Like in Python you can do:
as described here: https://github.com/lightbend/config/blob/master/HOCON.md#multi-line-strings
Configurate reads it correctly but always saves it back as followed:
I suggest there should be some type of option to enable triple quotes for strings that contain a least one
"
quote.The text was updated successfully, but these errors were encountered: