typebox-validators
typebox-validators copied to clipboard
[FEATURE] allow changing the key which looks for the error message
Hey, I would like to use this library with Elysia, but Elysia uses the "error" property for custom error messages, instead of "errorMessage". It would be nice if I could tell the library to look for the message in the "error" property instead.