Remove generic variable type from QueryUnwrap trait
This commit is contained in:
parent
9d5ff8f125
commit
98f140afff
4 changed files with 2 additions and 22 deletions
|
|
@ -106,13 +106,8 @@ pub struct SetResponse {
|
|||
}
|
||||
|
||||
impl<'a> QueryUnwrap<TournamentSetsVars<'a>> for TournamentSets {
|
||||
type VarsUnwrapped = TournamentSetsVars<'a>;
|
||||
type Unwrapped = Vec<TournamentResponse>;
|
||||
|
||||
fn wrap_vars(vars: TournamentSetsVars) -> TournamentSetsVars {
|
||||
vars
|
||||
}
|
||||
|
||||
// This might be the most spaghetti code I've ever written
|
||||
fn unwrap_response(
|
||||
response: GraphQlResponse<TournamentSets>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue