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

Passing string parameters does not work #9

@jaibatrik

Description

@jaibatrik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions