glideapps / quicktype

Generate types and converters from JSON, Schema, and GraphQL
https://app.quicktype.io
Apache License 2.0
12.37k stars 1.07k forks source link

failed to download github graphql #1413

Open conanchen opened 4 years ago

conanchen commented 4 years ago

followed https://blog.quicktype.io/graphql-with-quicktype/ instructions:-

quicktype --graphql-server-header “Authorization: bearer xxxxxxx” --graphql-introspect https://api.github.com/graphql --graphql-schema github.gqlschema Error: Option parsing failed: Unknown option: --graphql-server-header.

ashfordneil commented 4 years ago

Turns out passing headers to things has been moved to the more generic option --http-header, and I guess the blog post hasn't been updated