FastifyContextConfig Class — fastify Architecture
Architecture documentation for the FastifyContextConfig class in route.test-d.ts from the fastify codebase.
Entity Profile
Dependency Diagram
graph TD 2c047cdd_49fb_0b45_438b_8ec8b71fb4f9["FastifyContextConfig"] bd669693_d0d9_c28e_3452_91e019653d6f["route.test-d.ts"] 2c047cdd_49fb_0b45_438b_8ec8b71fb4f9 -->|defined in| bd669693_d0d9_c28e_3452_91e019653d6f
Relationship Graph
Source Code
test/types/route.test-d.ts lines 18–40
declare module '../../fastify' {
interface FastifyContextConfig {
foo: string;
bar: number;
includeMessage?: boolean;
}
/* eslint-disable @typescript-eslint/no-unused-vars */
interface FastifyRequest<
RouteGeneric,
RawServer,
RawRequest,
SchemaCompiler,
TypeProvider,
ContextConfig,
Logger,
RequestType
> {
message: ContextConfig extends { includeMessage: true }
? string
: null;
}
}
Domain
Defined In
Source
Frequently Asked Questions
What is the FastifyContextConfig class?
FastifyContextConfig is a class in the fastify codebase, defined in test/types/route.test-d.ts.
Where is FastifyContextConfig defined?
FastifyContextConfig is defined in test/types/route.test-d.ts at line 18.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free