Serialize on GraphQLRequest

What the title says
This commit is contained in:
thomas-jeepe 2017-10-29 17:02:21 -04:00 committed by theduke
parent 76a1a042aa
commit 6d345b6b98

View file

@ -14,7 +14,7 @@ use executor::ExecutionError;
/// ///
/// For GET, you will need to parse the query string and exctract "query", /// For GET, you will need to parse the query string and exctract "query",
/// "operationName", and "variables" manually. /// "operationName", and "variables" manually.
#[derive(Deserialize, Clone)] #[derive(Deserialize, Clone, Serialize)]
pub struct GraphQLRequest { pub struct GraphQLRequest {
query: String, query: String,
#[serde(rename = "operationName")] #[serde(rename = "operationName")]