We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make the interface generic
typia.validate(req.body); make Icustomer as a T
The text was updated successfully, but these errors were encountered:
Not possible.
Make a function with validator type parameter, and let user to assign the typia.createValidate<T>() statement into there.
typia.createValidate<T>()
By the way, if you're using NestJS, you can utilize this one.
https://nestia.io/docs/core/TypedBody/
duplicated - #850
Sorry, something went wrong.
samchon
No branches or pull requests
How to make the interface generic
typia.validate(req.body);
make Icustomer as a T
The text was updated successfully, but these errors were encountered: