Derive Clone for GraphQLRequest
This is just a useful thing for me because I need to clone the http request. This shouldn't really influence anything else, every field already implements `Clone`
This commit is contained in:
parent
62d5e28a97
commit
76a1a042aa
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",
|
||||
/// "operationName", and "variables" manually.
|
||||
#[derive(Deserialize)]
|
||||
#[derive(Deserialize, Clone)]
|
||||
pub struct GraphQLRequest {
|
||||
query: String,
|
||||
#[serde(rename = "operationName")]
|
||||
|
|
Loading…
Reference in a new issue