Skip to content

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

Merged
vardhanapoorv merged 1 commit intorelease/v20.07from
apoorv/cherry-pick-add-introspection-headers
Jul 7, 2020
Merged

feat(GraphQL): Add introspection headers to custom logic (#5775)#5858
vardhanapoorv merged 1 commit intorelease/v20.07from
apoorv/cherry-pick-add-introspection-headers

Conversation

@vardhanapoorv
Copy link
Copy Markdown
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