# DependencyOptions interface · @imqueue/graphql-dependency

Source: https://imqueue.org/api/graphql-dependency/latest/graphql-dependency.dependencyoptions/
Published: 2026-07-31
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/graphql-dependency 3.1.0 — generated reference, not hand-written

One relation between a parent type and a child type: where the loaded children are attached, and how they are matched to their parent.

**Signature:**

```typescript
export interface DependencyOptions 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [as](https://imqueue.org/api/graphql-dependency/latest/graphql-dependency.dependencyoptions.as/) |  | GraphQLField<any, any, any> | The field on the parent type the loaded children are written to. Whether a single object or a list is attached is taken from this field's own GraphQL type, so a `GraphQLList` field receives every match and a plain one receives the first. |
| [filter](https://imqueue.org/api/graphql-dependency/latest/graphql-dependency.dependencyoptions.filter/) |  | [DependencyFilterOptions](https://imqueue.org/api/graphql-dependency/latest/graphql-dependency.dependencyfilteroptions/) | How to find the children belonging to each parent. |

