DependentType type

The class a requirement points at, named through a thunk.

Signature:

export type DependentType = Function | Function[];

Remarks

A bare class and a single-element array behave identically — only the first element is read, and only for its name. The array form is a readability convention for "many of these", matching how the relation's target field is typed; whether one object or a list is attached is decided by that field's own GraphQL type, not by this.

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