# DependencyOptionsGetter type · @imqueue/graphql-dependency

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

A relation supplied as a thunk, which is how `require()` takes it.

**Signature:**

```typescript
export type DependencyOptionsGetter = () => DependencyOptions;
```
**References:** [DependencyOptions](https://imqueue.org/api/graphql-dependency/latest/graphql-dependency.dependencyoptions/)

## Remarks

Deferred rather than eager because the types involved are usually still being built when the relation is declared: a `GraphQLObjectType` with circular references only has its fields once the schema settles, so `getFields()` has to be called later than the `require()` that mentions it.

