Skip to content

Instantly share code, notes, and snippets.

@scottdomes
Created January 26, 2019 00:03
Show Gist options
  • Save scottdomes/62083c67ccbba10df1ab8d84f10899e3 to your computer and use it in GitHub Desktop.
Save scottdomes/62083c67ccbba10df1ab8d84f10899e3 to your computer and use it in GitHub Desktop.
import graphql from 'babel-plugin-relay/macro';
export const GET_CONTACTS = graphql`
query queryQuery {
viewer {
id
allContacts(first: 1000) @connection(key: "Main_allContacts") {
edges {
node {
id
name
email
}
}
}
}
}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment