Created
February 18, 2017 18:11
-
-
Save RyanCCollins/05dd06a680faf5f26b554841e065705a to your computer and use it in GitHub Desktop.
GraphQL Query for Blog Posts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From client/containers/Blog/posts.graphql.ts | |
import gql from 'graphql-tag'; | |
export default gql` | |
query Posts { | |
posts { | |
id: _id | |
title | |
image | |
content | |
} | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment