Skip to content

Instantly share code, notes, and snippets.

@scottdomes
Created January 26, 2019 00:03
Show Gist options
  • Save scottdomes/8a759a3eb82d878d4fa7e784a6e34123 to your computer and use it in GitHub Desktop.
Save scottdomes/8a759a3eb82d878d4fa7e784a6e34123 to your computer and use it in GitHub Desktop.
import gql from 'graphql-tag';
export const GET_CONTACTS = gql`
query contacts {
viewer {
allContacts {
edges {
node {
name
email
id
}
}
}
}
}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment