schemaHooks variable

Every deferred wiring hook registered so far, in the order it was registered.

Signature:

schemaHooks: CreateSchemaHook[]

Remarks

Applying DependencyFor() appends to this array; nothing in this package ever drains it. Running the hooks is the application's job, once the schema is built:

const schema = await buildSchema({ resolvers: [...] });

schemaHooks.forEach(hook => hook(schema));

Skip that and no dependency is registered at all. There is no warning — the decorated classes look wired and their dependency fields stay empty.

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