-
Notifications
You must be signed in to change notification settings - Fork 222
Add graphiql custom http headers documentation #143
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
Conversation
mcg-web
left a comment
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.
Thanks for contribution. Some minor change then we can merge this...
|
|
||
| ```yml | ||
| # app/config/config_dev.yml | ||
| parameters: |
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.
this can be replaced by the bundle configuration:
overblog_graphql:
templates:
graphiql: AppBundle:GraphiQL:index.html.twig
mcg-web
left a comment
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.
forgot this too. Squash your commits please
| {# src/AppBundle/Resources/views/GraphiQL/index.html.twig #} | ||
| {% extends 'OverblogGraphQLBundle:GraphiQL:index.html.twig' %} | ||
|
|
||
| {% block graphql_fetcher_headers %} |
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.
missing parent call in this example: {{ parent() }}
mcg-web
left a comment
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.
Thank you 👍
Documentation as proposed in #131.