-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/apollo header support #209
Feature/apollo header support #209
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, I just found one issue. Thanks for fixing some typos as well :)
@chrisdrackett - any thoughts on this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure the tests and examples run,
Just did a quick test running example 1 and it fails with ReferenceError: defaultConfig is not defined
.
The second this is published I will start my new project 🚀 |
Works like a charm. You guys are heroes! |
Fixes #151
Adds support for
--header
flag to CLI. Example:mst-gql --header=X-Hasura-Admin-Secret:supersecret
Adds support for a header in a config object. Example (in config or package.json):
Feedback is welcome.