Indicate when schema cannot be loaded in doc explorer. #269

Merged
merged 1 commit into from Jan 10, 2017

Projects

None yet

2 participants

@leebyron
Contributor

When introspection fails to load a schema (or a schema is intentionally excluded via providing null as the prop), the doc explorer currently continues to show a loading indicator. This change alters that behavior to instead declare that no schema exists. This also ensures schema is set to null after failure to load via introspection.

Fixes #212

@leebyron leebyron Indicate when schema cannot be loaded in doc explorer.
When introspection fails to load a schema (or a schema is intentionally excluded via providing `null` as the prop), the doc explorer currently continues to show a loading indicator. This change alters that behavior to instead declare that no schema exists. This also ensures schema is set to `null` after failure to load via introspection.

Fixes #212
f04b453
@leebyron leebyron merged commit fcc098a into master Jan 10, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@leebyron leebyron deleted the docs-loader branch Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment