Skip to content

Commit

Permalink
show graphql extensions (#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
robrichard authored and timsuchanek committed Aug 23, 2018
1 parent e1f7159 commit 15f9a2b
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -190,7 +190,12 @@ function* runQuerySaga(action) {
if (value && value.extensions) {
const extensions = value.extensions
yield put(setResponseExtensions(extensions))
delete value.extensions
if (
value.extensions.tracing &&
settings['tracing.hideTracingResponse']
) {
delete value.extensions.tracing
}
}
const response = new ResponseRecord({
date: JSON.stringify(value ? value : formatError(error), null, 2),
Expand Down

0 comments on commit 15f9a2b

Please sign in to comment.