DependencyOptions interface

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:

export interface DependencyOptions 

Properties

Property

Modifiers

Type

Description

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

DependencyFilterOptions

How to find the children belonging to each parent.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.