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

Function setValidatorCompiler

fastify.js:729–733  ·  fastify.js::setValidatorCompiler
(validatorCompiler)

Source from the content-addressed store, hash-verified

727 }
728
729 function setValidatorCompiler (validatorCompiler) {
730 throwIfAlreadyStarted(class="st">'Cannot call "setValidatorCompiler"!')
731 this[kSchemaController].setValidatorCompiler(validatorCompiler)
732 return this
733 }
734
735 function setSchemaErrorFormatter (errorFormatter) {
736 throwIfAlreadyStarted(class="st">'Cannot call "setSchemaErrorFormatter"!')

Callers

nothing calls this directly

Calls 2

throwIfAlreadyStartedFunction · 0.85
setValidatorCompilerMethod · 0.65

Tested by

no test coverage detected