I use gql from graphql-tag.
Let's say I have a gql object defined like this:
const QUERY_ACCOUNT_INFO = gql`
query AccountInfo {
viewer {
lastname
firstname
email
phone
id
}
}
`
There must be a way to get AccountInfo from it. How can I do it?