kgoggin
06/12/2018, 3:43 PMnilan
06/12/2018, 3:50 PMgraphql-cli
has two steps:
1. graphql get-schema
- this is essentially the introspection against a running server
2. graphql codegen
- this needs a .graphql
file as input, and doesn't require a running server.kgoggin
06/12/2018, 4:06 PMnilan
06/12/2018, 4:07 PMHow do I get a JS file using just an SDL?I just lined that out above - or maybe I am misunderstanding something? 🙂
nilan
06/12/2018, 4:08 PM.graphql
file and generates the .ts
filenilan
06/12/2018, 4:10 PMinput
should also offer .graphql
files in the future to make this easier. Can you provide a feature request here: https://github.com/graphql-cli/graphql-cli? 🙂kgoggin
06/12/2018, 4:12 PMnilan
06/12/2018, 4:13 PM.graphql
workflow.kgoggin
06/12/2018, 4:13 PMnilan
06/12/2018, 4:14 PMgraphql codegen
and the right .graphqlconfig.yml
setup to get where you want, but I am not sure 🙂