I want to customize the return type
I want to customize the return type, but you don't have such a configuration, and I want to do a better way to return to the custom type.
Can you elaborate more?
Because I'm using react, I want setState (error), but I didn't think of a better way to get this error message to change state.Because the return type must be ValidationError.I don't have a better way to do it。
@SenvenQi Look here, I've attached an example of my decision https://github.com/typestack/class-validator/issues/132
@kalyuk thank you.
@SenvenQi Did @kalyuk solution solve your problem? Can we close this?
yes