Skip to content
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

feat(GraphQL): Add introspection headers to custom logic (#5775) #5858

Merged

Conversation

vardhanapoorv
Copy link
Contributor

@vardhanapoorv vardhanapoorv commented Jul 7, 2020

Fixes #GRAPHQL-510
This PR introduces introspectionHeaders for custom logic in GraphQL which will only be used for making the introspection query to the remote endpoint. Also forwardHeaders and secretHeaders cannot overlap.

(cherry picked from commit cf5df22)


This change is Reviewable

Docs Preview: Dgraph Preview

* Add introspection headers in custom logic

* Fix introspection test

* Addressed comments

* Added tests

* Addressed comments

* Fix tests

* Fix schema test

* Update output for subscription schema test

* Address comment

(cherry picked from commit cf5df22)
@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Jul 7, 2020
@vardhanapoorv vardhanapoorv merged commit c8019d6 into release/v20.07 Jul 7, 2020
@joshua-goldstein joshua-goldstein deleted the apoorv/cherry-pick-add-introspection-headers branch August 11, 2022 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graphql Issues related to GraphQL support on Dgraph.
Development

Successfully merging this pull request may close these issues.

1 participant