defaultBuildPrettyMeta() — fastify Function Reference
Architecture documentation for the defaultBuildPrettyMeta() function in fastify.js from the fastify codebase.
Entity Profile
Dependency Diagram
graph TD 05a89257_2cf0_5263_5500_f85a37cdb060["defaultBuildPrettyMeta()"] 2bf9986b_b7fb_0c78_f075_72fbe6f4672b["fastify.js"] 05a89257_2cf0_5263_5500_f85a37cdb060 -->|defined in| 2bf9986b_b7fb_0c78_f075_72fbe6f4672b style 05a89257_2cf0_5263_5500_f85a37cdb060 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
fastify.js lines 908–919
function defaultBuildPrettyMeta (route) {
// return a shallow copy of route's sanitized context
const cleanKeys = {}
const allowedProps = ['errorHandler', 'logLevel', 'logSerializers']
allowedProps.concat(supportedHooks).forEach(k => {
cleanKeys[k] = route.store[k]
})
return Object.assign({}, cleanKeys)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does defaultBuildPrettyMeta() do?
defaultBuildPrettyMeta() is a function in the fastify codebase, defined in fastify.js.
Where is defaultBuildPrettyMeta() defined?
defaultBuildPrettyMeta() is defined in fastify.js at line 908.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free