File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
devtools/components/Explorer Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ export const initLinkEvents = (hook, bridge) => {
184184 operationExecution$ = apolloClientReplica . watchQuery ( {
185185 query : queryAst ,
186186 variables,
187+ fetchPolicy,
187188 } ) ;
188189 }
189190
Original file line number Diff line number Diff line change @@ -175,11 +175,11 @@ export class Explorer extends Component {
175175 this . link = createBridgeLink ( this . props . bridge ) ;
176176 }
177177
178- fetcher = ( { query, variables = { } } ) => {
178+ fetcher = ( { query, variables = { } , noFetch = this . state . noFetch } ) => {
179179 const result = execute ( this . link , {
180180 query : parse ( query ) ,
181181 variables,
182- context : { noFetch : this . state . noFetch } ,
182+ context : { noFetch } ,
183183 } ) ;
184184
185185 return result ;
@@ -188,6 +188,7 @@ export class Explorer extends Component {
188188 componentDidMount ( ) {
189189 this . fetcher ( {
190190 query : getIntrospectionQuery ( ) ,
191+ noFetch : false ,
191192 } ) . forEach ( result => {
192193 this . setState ( oldState => {
193194 return {
You can’t perform that action at this time.
0 commit comments