excitement-engineer / ktor-graphql

Easily serve GraphQL over http with Ktor
MIT License
63 stars 5 forks source link

raw parameter does not work #21

Closed saibotma closed 3 years ago

saibotma commented 4 years ago

When using the raw parameter in the browser like localhost:8080/graphql?raw then not the raw schema but {"errors":[{"message":"Must provide query string."}]} gets returned.

Using version 2.0.0.

excitement-engineer commented 3 years ago

Isn't this the expected behaviour? When you pass the raw parameter you are executing graphQL directly instead of presenting the playground. This parameter does not return the raw schema