# DependencyFilterOptions interface · @imqueue/graphql-dependency

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

How a child type's objects are found: each key names a field of the child loader's filter, and its value is the parent field supplying the values.

**Signature:**

```typescript
export interface DependencyFilterOptions 
```

## Remarks

The direction catches people out, so read it as child-side key, parent-side source. `{ [UserType.getFields().companyId.name]: CompanyType.getFields().id }` says "call the user loader with `companyId` set to every company `id` in the result set".

The parent side is the `GraphQLField` object rather than its name, so a renamed field cannot leave a stale string behind. Only `.name` is read from it.

