heruan
09/07/2018, 7:04 AMmy-query.graphql
file?catalinmiron
09/07/2018, 7:26 AMimport { request } from 'graphql-request'
import MyQuery from './MyQuery'
request('<https://api.graph.cool/simple/v1/movies>', MyQuery).then(data => console.log(data))
?heruan
09/07/2018, 7:40 AM*.graphql
files and I generate TypeScript types from them, but I need to rewrite them (or import with fs.readFileSync
). I wonder if there is a better method simple smilecatalinmiron
09/07/2018, 7:52 AM