OptionalcontextOptionalerrorOptionalfetchSpecifies how the query interacts with the Apollo Client cache during execution (for example, whether it checks the cache for results before sending a request to the server).
For details, see Setting a fetch policy.
The default value is cache-first.
OptionalqueryA GraphQL query string parsed into an AST with the gql template literal.
OptionalvariablesAn object containing all of the GraphQL variables your query requires to execute.
Each key in the object corresponds to a variable name, and that key's value corresponds to the variable value.
If you're using Apollo Link, this object is the initial value of the
contextobject that's passed along your link chain.