From 56169bc4178f5a3e13db9a51a81d45bb58a70069 Mon Sep 17 00:00:00 2001 From: Erik Lilja Date: Tue, 5 Nov 2024 12:14:30 +0100 Subject: [PATCH] docs: add link to h3 blogpost (#29794) --- docs/2.guide/2.directory-structure/1.server.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/2.guide/2.directory-structure/1.server.md b/docs/2.guide/2.directory-structure/1.server.md index cbf68709d9..bb4dc8c8a2 100644 --- a/docs/2.guide/2.directory-structure/1.server.md +++ b/docs/2.guide/2.directory-structure/1.server.md @@ -158,7 +158,7 @@ export default defineEventHandler((event) => { }) ``` -::tip +::tip{to="https://h3.unjs.io/examples/validate-data#validate-params"} Alternatively, use `getValidatedRouterParams` with a schema validator such as Zod for runtime and type safety. ::