Generic typing does not cover more than the first level #15141
DIEGOHORVATTI
started this conversation in
Ideas
Replies: 1 comment 6 replies
-
How about the following? Still requires some code changes, but certainly less verbose.
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Well, let's look at the problem: if I have to insert data into moongose as an object, even passing the desired type as generic, when the data is an object, it does not check each of the items, validating its typing and even name
Example
Well for now I solved it as follows
Every time I have a new object I do the satisfaction again, does anyone have a better way around this?
Beta Was this translation helpful? Give feedback.
All reactions