Open theogravity opened 7 years ago
"get-schema:dev": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 graphql get-schema dev",
Using the @MartinDawson idea, we can use the same strategy on CLI
npm install -g get-graphql-schema
NODE_TLS_REJECT_UNAUTHORIZED=0 get-graphql-schema GRAPHQL_ENDPOINT > schema.graphql
Needs to have an option to enable this for local dev purposes