Skip to content

Commit

Permalink
show graphql extensions (graphql#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 edf7486 commit e9005a3
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
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 e9005a3

Please sign in to comment.