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

Function anotherValidator

test/schema-validation.test.js:337–339  ·  view source on GitHub ↗
({ schema, method, url, httpPart })

Source from the content-addressed store, hash-verified

335 })
336
337 const anotherValidator = ({ schema, method, url, httpPart }) => {
338 return () => { return true } // always valid
339 }
340 instance.post('/three', {
341 validatorCompiler: anotherValidator,
342 handler (req, reply) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected