Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Passing string parameters does not work #9

Open
jaibatrik opened this issue Mar 6, 2018 · 2 comments
Open

Passing string parameters does not work #9

jaibatrik opened this issue Mar 6, 2018 · 2 comments

Comments

@jaibatrik
Copy link

If I build a query like String query = "{feed(count:50,start:0,id:\"5a831642ce4c05360b8831cb\"){name id}}, and pass it to the client like mOkGraphql.query(query).enque(...), it does not work and results in malformed JSON in server.

If I construct the query as String query = "{feed(count:50,start:0,id:\\\"5a831642ce4c05360b8831cb\\\"){name id}}, then it works. I think the library should take care of escaping the string.

@florent37
Copy link
Owner

can you try with 1.0.0 ?

@florent37 florent37 reopened this Mar 12, 2018
@jaibatrik
Copy link
Author

Yeah, I'll check. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants