---
lang: en
title: 'API docs: graphql.graphqlresolutioncontext._constructor_'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/extensions/graphql
permalink: /doc/en/lb4/apidocs.graphql.graphqlresolutioncontext._constructor_.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/graphql](./graphql.md) &gt; [GraphQLResolutionContext](./graphql.graphqlresolutioncontext.md) &gt; [(constructor)](./graphql.graphqlresolutioncontext._constructor_.md)

## GraphQLResolutionContext.(constructor)

Constructs a new instance of the `GraphQLResolutionContext` class

<b>Signature:</b>

```typescript
constructor(parent: Context, resolverClass: Constructor<unknown>, resolverData: ResolverData<unknown>);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  parent | [Context](./context.context.md) |  |
|  resolverClass | [Constructor](./context.constructor.md)<!-- -->&lt;unknown&gt; |  |
|  resolverData | ResolverData&lt;unknown&gt; |  |


