Skip to content

Instantly share code, notes, and snippets.

@DevNebulae
Created December 9, 2017 09:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DevNebulae/2f306c230cd46a77ee889d46af4ac496 to your computer and use it in GitHub Desktop.
Save DevNebulae/2f306c230cd46a77ee889d46af4ac496 to your computer and use it in GitHub Desktop.
GraphQL discography graphql-tools
import gql from "graphql-tools"
const TrackType = gql`
type Track {
albums: [Album!]!
artists: [Artist!]!
title: String!
}
`
export default TrackType
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment