Skip to content

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

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

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

hasura-bot pushed a commit that referenced this pull request Apr 8, 2025
<!-- The PR description should answer 2 important questions: -->

### What

Removes plan-pushdown-types and replaces them with similar types from
ndc-spec. The endpoint to query has also changed from `/query/rel` to
`/query/relation`.

~~**Warning**: Currently this PR references ndc-spec code directly from
[this PR](hasura/ndc-spec#206). When that PR is
finalised, this can be changed to a tag.~~

### How

<!-- How is it trying to accomplish it (what are the implementation
steps)? -->

---------

Co-authored-by: Daniel Harvey <[email protected]>
Co-authored-by: Phil Freeman <[email protected]>
V3_GIT_ORIGIN_REV_ID: 999bc4304089293024c5f8044c6592b1b65184e4
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