typebox-validators icon indicating copy to clipboard operation
typebox-validators copied to clipboard

[FEATURE] allow changing the key which looks for the error message

Open itsyoboieltr opened this issue 1 year ago • 3 comments

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.

itsyoboieltr avatar Nov 25 '23 20:11 itsyoboieltr