From 918cbb3e1a53cb195450117b2d18649f0938de0e Mon Sep 17 00:00:00 2001 From: Reinert Lemmens Date: Mon, 7 Oct 2024 22:11:31 +0200 Subject: [PATCH] Update README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3cb504a..174be0c 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,8 @@ const schema = GeoJSONSchema.parse({ ### Error messages The error messages are currently very big and not user-friendly due to the default handling of failures in -nested zod unions. This is something I hope to improve in the future. +nested zod unions. If you're not using it already, I recommend using +[zod-validation-error](https://www.npmjs.com/package/zod-validation-error) to simplify the error messages. ### Nested Geometry Collections