-
I am using this in a Meteor Validated Method.
Now in that ObjectSchema there is an attribute which isn't passed into the ValidatedMethod (an ID which is yet to be generated). How can I shrink, or exclude that key? |
Beta Was this translation helpful? Give feedback.
Answered by
aldeed
May 24, 2021
Replies: 1 comment 1 reply
-
@cstrat Does it work to add |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
cstrat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@cstrat Does it work to add
.omit('_id')
before the.validator
line?