Skip to content

Instantly share code, notes, and snippets.

@simonwoo
Last active November 29, 2016 17:00
Show Gist options
  • Save simonwoo/3a8e677c61e61cf6a1ca88c4ea65f4ef to your computer and use it in GitHub Desktop.
Save simonwoo/3a8e677c61e61cf6a1ca88c4ea65f4ef to your computer and use it in GitHub Desktop.

graphql共分为两部分: client-side and server-side。 client-side指的是graphql query, for example:

{
  subscribers(publication: "apollo-stack"){
    name
    email
  }
}

server-side指的是graphql server, 分为两部分schemaresolve functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment