@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
33 lines (22 loc) • 1.16 kB
Markdown
---
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) > [@loopback/graphql](./graphql.md) > [GraphQLResolutionContext](./graphql.graphqlresolutioncontext.md) > [(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)<!-- --><unknown> | |
| resolverData | ResolverData<unknown> | |