We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d45c600 commit 0570516Copy full SHA for 0570516
packages/graphql/lib/services/resolvers-explorer.service.ts
@@ -302,7 +302,10 @@ export class ResolversExplorerService extends BaseExplorerService {
302
}
303
const wrapper = coreModuleRef.getProviderByKey(REQUEST);
304
wrapper.setInstanceByContextId(contextId, {
305
- instance: request,
+ // TODO: remove "as any" in the next major release (backward compatibility)
306
+ instance: (contextId as any).getParent
307
+ ? (contextId as any).payload
308
+ : request,
309
isResolved: true,
310
});
311
0 commit comments