Created
August 26, 2017 20:55
-
-
Save matthieu-D/4a6a98f9a335c52cf6f25be73a2bc355 to your computer and use it in GitHub Desktop.
This file contains 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
import { Component } from '@angular/core'; | |
import { Apollo, ApolloQueryObservable } from 'apollo-angular'; | |
import gql from 'graphql-tag'; | |
const Users = gql` | |
query { | |
users{ | |
id | |
name | |
} | |
} | |
`; | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment