[x] Documentation issue or request (new chapter/page)
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
I'm not sure if the function types are correct for the Fastify middleware example in the docs. It mentions using FastifyRequest['raw'] but that doesn't give me access to the req.originalUrl property (which exists).
Expected behavior
I think it should use the FastifyRequest type which does provide the autocomplete for originalUrl.
I'm submitting a...
Current behavior
I'm not sure if the function types are correct for the Fastify middleware example in the docs. It mentions using
FastifyRequest['raw']
but that doesn't give me access to thereq.originalUrl
property (which exists).Expected behavior
I think it should use the
FastifyRequest
type which does provide the autocomplete fororiginalUrl
.