validateBodyLimitOption() — fastify Function Reference
Architecture documentation for the validateBodyLimitOption() function in route.js from the fastify codebase.
Entity Profile
Dependency Diagram
graph TD 9f6489a1_be37_aace_6969_5f938cfb179f["validateBodyLimitOption()"] de54192b_022b_f89b_5a43_a2593cb4df49["route.js"] 9f6489a1_be37_aace_6969_5f938cfb179f -->|defined in| de54192b_022b_f89b_5a43_a2593cb4df49 6cd5988e_5d78_05dc_2f41_2265e76dcba8["buildRouting()"] 6cd5988e_5d78_05dc_2f41_2265e76dcba8 -->|calls| 9f6489a1_be37_aace_6969_5f938cfb179f style 9f6489a1_be37_aace_6969_5f938cfb179f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
lib/route.js lines 592–597
function validateBodyLimitOption (bodyLimit) {
if (bodyLimit === undefined) return
if (!Number.isInteger(bodyLimit) || bodyLimit <= 0) {
throw new FST_ERR_ROUTE_BODY_LIMIT_OPTION_NOT_INT(bodyLimit)
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does validateBodyLimitOption() do?
validateBodyLimitOption() is a function in the fastify codebase, defined in lib/route.js.
Where is validateBodyLimitOption() defined?
validateBodyLimitOption() is defined in lib/route.js at line 592.
What calls validateBodyLimitOption()?
validateBodyLimitOption() is called by 1 function(s): buildRouting.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free