Closed MentalGear closed 1 year ago
Any chance we can have ${ interpolation} instead of the more complex request(mutation, variables); ?
${ interpolation}
request(mutation, variables);
Example:
const gqlRequest = gql` mutation { getItem( animalData: { id: ${itemID}, } ){ stats } } `
Would be rad
That's unfortunately not by design from graphql-request
graphql-request
Any chance we can have
${ interpolation}
instead of the more complexrequest(mutation, variables);
?Example:
Would be rad