Serialize on GraphQLRequest
What the title says
This commit is contained in:
parent
76a1a042aa
commit
6d345b6b98
1 changed files with 1 additions and 1 deletions
|
@ -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")]
|
||||||
|
|
Loading…
Add table
Reference in a new issue