DependencyOptionsGetter type

A relation supplied as a thunk, which is how require() takes it.

Signature:

export type DependencyOptionsGetter = () => DependencyOptions;

References: 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.

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