You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, I can't pass the parameter on the body of operationName.
Because the request needs (query and operationName) of a multi operation on the same graphQL.
I have queryFile has multiple operations as the following example:
query login {
createSession(email:"[email protected]", password: "foobar"){
session
}
}
query me {
deserializeUser{
id,
email,
name
}
}
So, I want to use the login operation for the first time than the me operation.
const result = await this.auth.graphql( queryFile, operationName );
Hi. I am trying to put many queries and fragments inside one request.
My POST request's body:
I found that I can add ./src/graphql.ts:11
add a non-variable option
operationName
Please give me some clues. Thanks in advance.
The text was updated successfully, but these errors were encountered: