List with quotes
See original GitHub issueHi,
I’m trying to send a list of items into a mutation. But, I’m receiving a
Cannot parse the unexpected character \".\".\n\
The rendered query doesn’t contain quotes (I think that’s the problem). Do you have any solutions for that?
Query:
fun updateSomething(mylist: ArrayList<String>): Kraph {
return Kraph {
mutation {
func("updateSomething", args = mapOf("mylist" to mylist)) {
field("mylist")
}
}
}
}
This will render:
{"query": "mutation { \nupdateSomething(input: { mylist: [item1, item2] }) {\nmylist\n}\n}", "variables": null, "operationName": null}
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Punctuations for quotes in a list
American style is to place the comma inside the quotes. This is universally the case in publishing and accords with all style guides ......
Read more >When writing a list in which the items are in quotations ...
A very simple rule of thumb to follow is that any punctuation that is part of a quotation goes inside, any that isn't...
Read more >Quote List Items
This is a super simple browser-based application that quotes list items. You can quote lists of any format with any items in them...
Read more >A to Z popular topic quotes list
Browse your favourite topic quotes from Happiness, Motivation, love, Success etc.
Read more >The 100 Most Famous Quotes of All Time
Best Quotes of All Time · Spread love everywhere you go. · When you reach the end of your rope, tie a knot...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Nice. As mentioned, I will try to release this weekends after cleanup stuffs and fix Travis CI config.
On Fri, Mar 24, 2017 at 5:36 PM Eduardo Stuart notifications@github.com wrote:
– Regrads, Verachad Wongsawangtham (Birth) Android Developer
@VerachadW I’m using version
0.5.0
. it doesn’t work if the data field contains double quotes character inside and throw syntax error. Please help