-
Notifications
You must be signed in to change notification settings - Fork 4
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
Continuation Lines #4
Comments
@devcybiko I'm not sure if this is what you're asking or not, but because TySON is really TypeScript under the hood, it already supports three different ways of creating strings that are longer than one line:
All of these are already supported. Does that cover your use case? |
Thank you, friend. The first one inserts new lines into the text, which is not what I wanted. The other two are what I was looking for. I'm a little confused when you say "TySON is really TypeScript under the hood" - because the output is not a JavaScript program, but JSON code. As a data definition language, I wouldn't necessarily expect all the abilities of TypeScript to be available in the DDL. |
closed. |
Can we have lines that span multiple lines? I notice your back-tick string allows newlines inside the quoted string, but how can you create values that are longer than a line in the editor?
Classically a line ending with a back-slash would allow line extension. JSON does not allow this and so a very long string spills off the right-hand-side of the editor.
Since TySon generates JSON, continuation lines would translate to very-long-strings.
The text was updated successfully, but these errors were encountered: