@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
87 lines (43 loc) • 1.5 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/loopbackio/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
**Signature:**
```typescript
constructor(parent: Context, resolverClass: Constructor<unknown>, resolverData: ResolverData<object>);
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
parent
</td><td markdown="1">
[Context](./context.context.md)
</td><td markdown="1">
</td></tr>
<tr><td markdown="1">
resolverClass
</td><td markdown="1">
[Constructor](./context.constructor.md)<!-- --><unknown>
</td><td markdown="1">
</td></tr>
<tr><td markdown="1">
resolverData
</td><td markdown="1">
ResolverData<object>
</td><td markdown="1">
</td></tr>
</tbody></table>