---
lang: en
title: 'API docs: graphql.graphqlcomponent'
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.graphqlcomponent.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/graphql](./graphql.md) &gt; [GraphQLComponent](./graphql.graphqlcomponent.md)

## GraphQLComponent class

Component for GraphQL

**Signature:**

```typescript
export declare class GraphQLComponent implements Component 
```
**Implements:** [Component](./core.component.md)

## Constructors

<table><thead><tr><th>

Constructor


</th><th>

Modifiers


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

[(constructor)(app)](./graphql.graphqlcomponent._constructor_.md)


</td><td markdown="1">


</td><td markdown="1">

Constructs a new instance of the `GraphQLComponent` class


</td></tr>
</tbody></table>

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

[bindings](./graphql.graphqlcomponent.bindings.md)


</td><td markdown="1">


</td><td markdown="1">

[Binding](./context.binding.md)<!-- -->\[\]


</td><td markdown="1">


</td></tr>
</tbody></table>


