Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Quotes within argument string not supported #24

Closed
deepakyadav opened this issue Sep 12, 2018 · 1 comment
Closed

Quotes within argument string not supported #24

deepakyadav opened this issue Sep 12, 2018 · 1 comment

Comments

@deepakyadav
Copy link

If value for a parameter contains escaped quoted, then the query fails because of failure in parsing the request. The error varies depending on what follows the quoted value, I think quotes are not handled properly:
https://github.com/pgutkowski/KGraphQL/blob/master/src/main/kotlin/com/github/pgutkowski/kgraphql/request/RequestPreProcessing.kt#L24

Example:

{
     hello(name : "Ted\" Mosby")
}

However, passing such strings using query variables works perfectly fine.

pgutkowski pushed a commit that referenced this issue Sep 28, 2018
@pgutkowski
Copy link
Owner

Hi @deepakyadav!

Thank you for reporting this issue, issue has been fixed in new version 0.2.8.

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