-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
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 define an array of array of number/string (2d array)? #40
Labels
Question
Further information is requested
Comments
Following seems to be working: Type.array({ required: true }).of(Type.array({ required: true }).of(Type.string())), Also this: Type.array().of(Type.array().of(Type.string())), What type is returned for |
Thanks. @lchimaru . It just throws a runtime exception
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for supplying this so great library.
in normal mongoose
I can define like this
I have tried but failed
How can I define this in ts-mongoose?
The text was updated successfully, but these errors were encountered: