MCPcopy
hub / github.com/fastify/fastify / setValidatorCompiler

Method setValidatorCompiler

types/instance.d.ts:515–515  ·  types/instance.d.ts::FastifyInstance.setValidatorCompiler

* Set the schema validator for all routes.

(schemaCompiler: FastifySchemaCompiler<T>)

Source from the content-addressed store, hash-verified

513 * Set the schema validator for all routes.
514 */
515 setValidatorCompiler<T = FastifySchema>(schemaCompiler: FastifySchemaCompiler<T>): FastifyInstance<RawServer, RawRequest, RawReply, Logger, TypeProvider>;
516
517 /**
518 * Fastify schema serializer for all routes.

Callers 9

setValidatorCompilerFunction · 0.65
route.3.test.jsFile · 0.65
schemaPluginFunction · 0.65
schema.tst.tsFile · 0.65

Calls

no outgoing calls

Tested by 1

schemaPluginFunction · 0.52