MCPcopy Create free account
hub / github.com/fastify/fastify / setValidatorCompiler

Function setValidatorCompiler

fastify.js:722–726  ·  view source on GitHub ↗
(validatorCompiler)

Source from the content-addressed store, hash-verified

720 }
721
722 function setValidatorCompiler (validatorCompiler) {
723 throwIfAlreadyStarted('Cannot call "setValidatorCompiler"!')
724 this[kSchemaController].setValidatorCompiler(validatorCompiler)
725 return this
726 }
727
728 function setSchemaErrorFormatter (errorFormatter) {
729 throwIfAlreadyStarted('Cannot call "setSchemaErrorFormatter"!')

Callers

nothing calls this directly

Calls 2

throwIfAlreadyStartedFunction · 0.85
setValidatorCompilerMethod · 0.65

Tested by

no test coverage detected