3 ms·
Also a missed opportunity to get out of quote escape hell, since GQL supports block literals: https://spec.graphql.org/June2018/#StringValue https://spec.graphq
by mdaniel 6y ago
Also a missed opportunity to get out of quote escape hell, since GQL supports block literals: https://spec.graphql.org/June2018/#StringValue https://spec.graphql.org/June2018/#StringValue (and, irony of ironies, their example is `sendEmail(message: """`)
content: """
<p>On {{ comment.date(format: "d/m/Y") }}, {{ author.name }} says:</p>
<blockquote>{{ comment.content }}</blockquote>
<p>Read online: {{ comment.url }}</p>
"""
- leoloso 6y agoThis is a great idea! If my proposal starts getting support and I get to submit the issue for the spec, I'll certainly include block literals as part of it