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

fix a bug where onegraph explorer schema didn't reload on header change #1810

Merged
merged 5 commits into from
Mar 18, 2019

Conversation

wawhal
Copy link
Contributor

@wawhal wawhal commented Mar 18, 2019

Onegraph explorer was loading schema only on first load. On header change, onegraph explorer's schema was not reloaded. This PR makes an introspection whenever header values are changed.

Description

As a user, you can use graphiql explorer on different role based schemas

Affected components

  • Console

Related Issues

Solution and Design

Onegraph explorer performs a diff between new and previous headers by storing the previous headers into the local state.

Steps to test and verify

Try with and without access key

Limitations, known bugs & workarounds

@wawhal wawhal added k/bug Something isn't working c/console Related to console labels Mar 18, 2019
@netlify
Copy link

netlify bot commented Mar 18, 2019

Deploy preview for hasura-docs ready!

Built with commit e36c6ec

https://deploy-preview-1810--hasura-docs.netlify.com

@hasura-bot
Copy link
Contributor

Review app for commit 55e9232 deployed to Heroku: https://hge-ci-pull-1810.herokuapp.com
Docker image for server: hasura/graphql-engine:pull1810-55e9232

@rikinsk-zz rikinsk-zz merged commit bcb3fb4 into hasura:master Mar 18, 2019
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-1810.herokuapp.com is deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/console Related to console k/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants